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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2720723004: Remove FrameHost setDefaultPageScaleLimits/UserAgentPageScaleConstraints (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index ac589d60c61b03d9f7a850e9d48cac0cc22ec765..94196d9590e5d6f076a8c95817218efca2ef3863 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2247,7 +2247,7 @@ void Internals::setPageScaleFactorLimits(float minScaleFactor,
}
Page* page = m_document->page();
- page->frameHost().setDefaultPageScaleLimits(minScaleFactor, maxScaleFactor);
+ page->setDefaultPageScaleLimits(minScaleFactor, maxScaleFactor);
}
bool Internals::magnifyScaleAroundAnchor(float scaleFactor, float x, float y) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698