Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index e0fa10353ae397051dd7e536a84861165a824c54..0ae6fc51b8ed96b8721c99eac720259ec56a104b 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -23,7 +23,6 @@ |
#include "base/trace_event/trace_event.h" |
#include "build/build_config.h" |
#include "cc/blink/web_layer_impl.h" |
-#include "cc/layers/layer_settings.h" |
#include "cc/layers/texture_layer.h" |
#include "content/common/content_constants_internal.h" |
#include "content/common/frame_messages.h" |
@@ -2039,15 +2038,13 @@ void PepperPluginInstanceImpl::UpdateLayer(bool force_creation) { |
bool opaque = false; |
if (want_3d_layer) { |
DCHECK(bound_graphics_3d_.get()); |
- texture_layer_ = cc::TextureLayer::CreateForMailbox( |
- cc::LayerSettings(), NULL); |
+ texture_layer_ = cc::TextureLayer::CreateForMailbox(NULL); |
opaque = bound_graphics_3d_->IsOpaque(); |
texture_layer_->SetTextureMailboxWithoutReleaseCallback( |
cc::TextureMailbox(mailbox, sync_token, GL_TEXTURE_2D)); |
} else { |
DCHECK(bound_graphics_2d_platform_); |
- texture_layer_ = cc::TextureLayer::CreateForMailbox( |
- cc::LayerSettings(), this); |
+ texture_layer_ = cc::TextureLayer::CreateForMailbox(this); |
bound_graphics_2d_platform_->AttachedToNewLayer(); |
opaque = bound_graphics_2d_platform_->IsAlwaysOpaque(); |
texture_layer_->SetFlipped(false); |