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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.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/plugins/npapi/webplugin_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index 35f29b23ac4aa04122236233bfdcf95cfe016e6d..c9da4627b1d6358fb3b176cef12594b36f2abff4 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -521,7 +521,7 @@ void PluginInstance::CommitBackingTexture() {
if (fullscreen_container_)
fullscreen_container_->Invalidate();
else if (texture_layer_)
- texture_layer_->setNeedsDisplay();
+ texture_layer_->SetNeedsDisplay();
}
void PluginInstance::InstanceCrashed() {
@@ -1715,10 +1715,10 @@ void PluginInstance::UpdateLayer() {
texture_layer_ = NULL;
} else {
DCHECK(bound_graphics_3d_.get());
- texture_layer_ = cc::TextureLayer::create(this);
+ texture_layer_ = cc::TextureLayer::Create(this);
web_layer_.reset(new WebKit::WebLayerImpl(texture_layer_));
container_->setWebLayer(web_layer_.get());
- texture_layer_->setContentsOpaque(bound_graphics_3d_->IsOpaque());
+ texture_layer_->SetContentsOpaque(bound_graphics_3d_->IsOpaque());
}
}
« no previous file with comments | « webkit/plugins/npapi/webplugin_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698