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

Unified Diff: cc/surfaces/display.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « cc/surfaces/BUILD.gn ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index a0bb62ad0790f208226641ae3e8fb1a3a9b00e84..47c55bb4f90e59c2cad65c3b5a3c942643f7d405 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -51,9 +51,8 @@ class CC_SURFACES_EXPORT Display : public OutputSurfaceClient,
// device_scale_factor is used to communicate to the external window system
// what scale this was rendered at.
- void Resize(SurfaceId id,
- const gfx::Size& new_size,
- float device_scale_factor);
+ void SetSurfaceId(SurfaceId id, float device_scale_factor);
+ void Resize(const gfx::Size& new_size);
bool Draw();
SurfaceId CurrentSurfaceId();
« no previous file with comments | « cc/surfaces/BUILD.gn ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698