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

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

Issue 2901203002: Rename VisualViewport properties to match updated spec (Closed)
Patch Set: Removed changes to VisualViewport type Created 3 years, 7 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 29cddf967555d612c0707c618ee9c00cfd8db2d9..b6cd01ee9e738ce7155687c82ef38678def07f2d 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2257,7 +2257,7 @@ float Internals::pageScaleFactor(ExceptionState& exception_state) {
return 0;
}
Page* page = document_->GetPage();
- return page->GetVisualViewport().PageScale();
+ return page->GetVisualViewport().Scale();
}
void Internals::setPageScaleFactor(float scale_factor,

Powered by Google App Engine
This is Rietveld 408576698