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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2290233007: Move convertViewportToWindow and convertWindowToViewport from (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/loader/EmptyClients.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index d5715a0e5e344540e3db4614843293ce889648fd..7ef89fce0167822c3fbca97d66e04b5208b9161b 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -137,7 +137,7 @@ public:
void scheduleAnimation(Widget*) override {}
IntRect viewportToScreen(const IntRect& r, const Widget*) const override { return r; }
- float windowToViewportScalar(const float s) const override { return s; }
+ float windowToViewportScalar(const float s, const Widget*) const override { return s; }
WebScreenInfo screenInfo() const override { return WebScreenInfo(); }
void contentsSizeChanged(LocalFrame*, const IntSize&) const override {}

Powered by Google App Engine
This is Rietveld 408576698