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

Unified Diff: remoting/client/plugin/pepper_view.cc

Issue 10832428: Add a query function for the scaling feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fixed Created 8 years, 4 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
« ppapi/cpp/dev/graphics_2d_dev.h ('K') | « ppapi/tests/test_graphics_2d.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_view.cc
diff --git a/remoting/client/plugin/pepper_view.cc b/remoting/client/plugin/pepper_view.cc
index 446201be9b2260808e2bbb0f3064d00056ef5186..ac95e7335c958590f06804ea94507d23b5bb45ca 100644
--- a/remoting/client/plugin/pepper_view.cc
+++ b/remoting/client/plugin/pepper_view.cc
@@ -90,7 +90,7 @@ void PepperView::SetView(const pp::View& view) {
// Ideally we would always let Graphics2D scale us, but the output quality
// is lousy, so we don't.
- pp::Graphics2DDev graphics2d_dev(graphics2d_);
+ pp::Graphics2D_Dev graphics2d_dev(graphics2d_);
graphics2d_dev.SetScale(1.0f / view_scale_);
bool result = instance_->BindGraphics(graphics2d_);
« ppapi/cpp/dev/graphics_2d_dev.h ('K') | « ppapi/tests/test_graphics_2d.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698