Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2579)

Unified Diff: Source/web/PageOverlay.cpp

Issue 1327503002: [DevTools] Set correct overlay size for scaled page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageOverlay.cpp
diff --git a/Source/web/PageOverlay.cpp b/Source/web/PageOverlay.cpp
index 676c2c3d98c1676897d1581c47d5300d466dddac..d713472d53969db306ac9c6ebbc26c63f5ba5109 100644
--- a/Source/web/PageOverlay.cpp
+++ b/Source/web/PageOverlay.cpp
@@ -90,7 +90,7 @@ void PageOverlay::update()
page->frameHost().visualViewport().containerLayer()->addChild(m_layer.get());
}
- FloatSize size = page->frameHost().visualViewport().visibleSize();
+ FloatSize size = page->frameHost().visualViewport().size();
if (size != m_layer->size())
m_layer->setSize(size);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698