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

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

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 5 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
===================================================================
--- webkit/plugins/ppapi/resource_creation_impl.cc (revision 95011)
+++ webkit/plugins/ppapi/resource_creation_impl.cc (working copy)
@@ -260,7 +260,7 @@
PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
PP_Bool vertical) {
- return ReturnResource(new PPB_Scrollbar_Impl(instance_, PP_ToBool(vertical)));
+ return PPB_Scrollbar_Impl::Create(instance_, PP_ToBool(vertical));
}
PP_Resource ResourceCreationImpl::CreateSurface3D(
« webkit/plugins/ppapi/ppb_scrollbar_impl.cc ('K') | « webkit/plugins/ppapi/ppb_scrollbar_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698