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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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: content/renderer/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index a96612fc14eb7b99c826632b3b4f8a9b2a12ebc8..7f215a7abd5ef93ce842f9367632f1342343746f 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -129,8 +129,8 @@ void BrowserPlugin::OnSetChildFrameSurface(
EnableCompositing(true);
DCHECK(compositing_helper_.get());
- compositing_helper_->OnSetSurface(surface_id, frame_size, scale_factor,
- sequence);
+ compositing_helper_->OnSetSurface(
+ cc::SurfaceInfo(surface_id, scale_factor, frame_size), sequence);
}
void BrowserPlugin::SendSatisfySequence(const cc::SurfaceSequence& sequence) {

Powered by Google App Engine
This is Rietveld 408576698