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

Unified Diff: webkit/plugins/npapi/webplugin_impl.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings Created 7 years, 9 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
« no previous file with comments | « webkit/compositor_bindings/web_video_layer_impl.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_impl.cc
diff --git a/webkit/plugins/npapi/webplugin_impl.cc b/webkit/plugins/npapi/webplugin_impl.cc
index 357bb0145310b6bb6fb4e3a20171c6f397def773..4982c95675c6bbec1e3831d24ccd379291e633fb 100644
--- a/webkit/plugins/npapi/webplugin_impl.cc
+++ b/webkit/plugins/npapi/webplugin_impl.cc
@@ -782,7 +782,7 @@ void WebPluginImpl::AcceleratedPluginSwappedIOSurface() {
if (next_io_surface_allocated_) {
if (next_io_surface_id_) {
if (!io_surface_layer_.get()) {
- io_surface_layer_ = cc::IOSurfaceLayer::create();
+ io_surface_layer_ = cc::IOSurfaceLayer::Create();
web_layer_.reset(new WebKit::WebLayerImpl(io_surface_layer_));
container_->setWebLayer(web_layer_.get());
}
@@ -797,7 +797,7 @@ void WebPluginImpl::AcceleratedPluginSwappedIOSurface() {
next_io_surface_allocated_ = false;
} else {
if (io_surface_layer_)
- io_surface_layer_->setNeedsDisplay();
+ io_surface_layer_->SetNeedsDisplay();
}
}
#endif
« no previous file with comments | « webkit/compositor_bindings/web_video_layer_impl.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698