Hack the real window dimensions

This commit is contained in:
Benoit Girard 2012-02-02 18:03:55 -05:00
Родитель 379da61fcd
Коммит defc73593d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -913,8 +913,8 @@ nsWindow::OnGlobalAndroidEvent(AndroidGeckoEvent *ae)
nsTArray<nsIntPoint> points = ae->Points();
NS_ASSERTION(points.Length() != 3, "Size changed does not have enough coordinates");
int nw = points[0].x;
int nh = points[0].y;
int nw = points[1].x;
int nh = points[1].y;
if (ae->Type() == AndroidGeckoEvent::FORCED_RESIZE || nw != gAndroidBounds.width ||
nh != gAndroidBounds.height) {