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

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

Issue 2290233007: Move convertViewportToWindow and convertWindowToViewport from (Closed)
Patch Set: add client to WebSharedWorkerImpl Created 4 years, 3 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 86480a2423336f7343c3084070727edad6d9a807..e8002072404f93318c5260289921ee2c7dd032a0 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 Widget&, const float s) 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