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

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 10544168: Implement HiDPI support in Pepper dev interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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: webkit/plugins/ppapi/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 430bd5e7ea83d3b416580e8345509135f09033ca..12d39c4f489f6f16c62908d2a947befb8883ed4c 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -155,8 +155,10 @@ PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) {
PP_Resource ResourceCreationImpl::CreateGraphics2D(
PP_Instance instance,
const PP_Size& size,
- PP_Bool is_always_opaque) {
- return PPB_Graphics2D_Impl::Create(instance, size, is_always_opaque);
+ PP_Bool is_always_opaque,
+ float scale) {
+ return PPB_Graphics2D_Impl::Create(instance, size, is_always_opaque,
+ scale);
}
PP_Resource ResourceCreationImpl::CreateGraphics3D(
« ppapi/api/private/ppb_view_private.idl ('K') | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698