зеркало из https://github.com/mozilla/gecko-dev.git
Bug 978700: Remove unused variables in widget/, r=roc
This commit is contained in:
Родитель
2e3329d020
Коммит
b746f89257
|
@ -110,7 +110,6 @@ Open()
|
|||
// that's double buffered with r5g6b5 format. Hence the
|
||||
// hard-coded numbers here.
|
||||
gfxImageFormat format = gfxImageFormat::RGB16_565;
|
||||
int bytesPerPixel = gfxASurface::BytePerPixelFromFormat(format);
|
||||
if (!sScreenSize) {
|
||||
sScreenSize = new gfxIntSize(sVi.xres, sVi.yres);
|
||||
}
|
||||
|
|
|
@ -246,7 +246,6 @@ int GonkNativeWindowClient::cancelBuffer(android_native_buffer_t* buffer,
|
|||
|
||||
int GonkNativeWindowClient::getSlotFromBufferLocked(
|
||||
android_native_buffer_t* buffer) const {
|
||||
bool dumpedState = false;
|
||||
for (int i = 0; i < NUM_BUFFER_SLOTS; i++) {
|
||||
if (mSlots[i].buffer != NULL &&
|
||||
mSlots[i].buffer->handle == buffer->handle) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче