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

Unified Diff: Source/WebCore/inspector/InspectorOverlay.cpp

Issue 12217060: Merge 141772 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 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/WebCore/inspector/InspectorOverlay.cpp
===================================================================
--- Source/WebCore/inspector/InspectorOverlay.cpp (revision 142077)
+++ Source/WebCore/inspector/InspectorOverlay.cpp (working copy)
@@ -285,6 +285,8 @@
IntSize viewportSize = enclosingIntRect(view->visibleContentRect()).size();
IntSize frameViewFullSize = enclosingIntRect(view->visibleContentRect(true)).size();
IntSize size = m_size.isEmpty() ? frameViewFullSize : m_size;
+ overlayPage()->setPageScaleFactor(m_page->pageScaleFactor(), IntPoint());
+ size.scale(m_page->pageScaleFactor());
overlayView->resize(size);
// Clear canvas and paint things.
« 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