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

Unified Diff: android_webview/native/aw_contents.h

Issue 1417893006: sync compositor: pass simple gfx types by const ref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « android_webview/browser/test/rendering_test.h ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 56b4d169cab500e636195d1334d77b93c89d223b..8edd1c08aa9839219c0c098113212ebc58fc3750 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -206,14 +206,14 @@ class AwContents : public FindHelper::Listener,
void DetachFunctorFromView() override;
void OnNewPicture() override;
gfx::Point GetLocationOnScreen() override;
- void ScrollContainerViewTo(gfx::Vector2d new_value) override;
- void UpdateScrollState(gfx::Vector2d max_scroll_offset,
- gfx::SizeF contents_size_dip,
+ void ScrollContainerViewTo(const gfx::Vector2d& new_value) override;
+ void UpdateScrollState(const gfx::Vector2d& max_scroll_offset,
+ const gfx::SizeF& contents_size_dip,
float page_scale_factor,
float min_page_scale_factor,
float max_page_scale_factor) override;
- void DidOverscroll(gfx::Vector2d overscroll_delta,
- gfx::Vector2dF overscroll_velocity) override;
+ void DidOverscroll(const gfx::Vector2d& overscroll_delta,
+ const gfx::Vector2dF& overscroll_velocity) override;
void ParentDrawConstraintsUpdated(
const ParentCompositorDrawConstraints& draw_constraints) override {}
« no previous file with comments | « android_webview/browser/test/rendering_test.h ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698