Bug 750846 - Move thumbnail size logic to Gecko. r=blassey
This commit is contained in:
@@ -469,11 +469,6 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
break;
|
||||
|
||||
float scale = 1.0;
|
||||
if (token == AndroidBridge::SCREENSHOT_THUMBNAIL) {
|
||||
if (NS_FAILED(tab->GetScale(&scale)))
|
||||
break;
|
||||
}
|
||||
|
||||
nsTArray<nsIntPoint> points = curEvent->Points();
|
||||
NS_ASSERTION(points.Length() == 4, "Screenshot event does not have enough coordinates");
|
||||
bridge->TakeScreenshot(domWindow, points[0].x, points[0].y, points[1].x, points[1].y, points[3].x, points[3].y, curEvent->MetaState(), scale, curEvent->Flags());
|
||||
|
||||
Reference in New Issue
Block a user