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

Unified Diff: cc/surfaces/display.h

Issue 2669183002: Seems incorrect to se device_scale_factor in SetLocalSurfaceId.
Patch Set: Created 3 years, 11 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: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 35b504149b23362a8e2de6c3bcb64a600469c04f..b4b95b5b9bac755ad551c87e07f3e3c0ea2a747c 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -65,9 +65,10 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
void Initialize(DisplayClient* client, SurfaceManager* surface_manager);
+ void SetLocalSurfaceId(const LocalSurfaceId& id);
// device_scale_factor is used to communicate to the external window system
// what scale this was rendered at.
- void SetLocalSurfaceId(const LocalSurfaceId& id, float device_scale_factor);
+ void SetDeviceScaleFactor(float device_scale_factor);
void SetVisible(bool visible);
void Resize(const gfx::Size& new_size);
void SetColorSpace(const gfx::ColorSpace& color_space);

Powered by Google App Engine
This is Rietveld 408576698