Index: content/renderer/npapi/webplugin_impl.cc |
diff --git a/content/renderer/npapi/webplugin_impl.cc b/content/renderer/npapi/webplugin_impl.cc |
index 2ad057c9c8352f6427bd8d1d60e12e7269669824..de7cb3695d737ac020ea26e65ca43f24f484bd18 100644 |
--- a/content/renderer/npapi/webplugin_impl.cc |
+++ b/content/renderer/npapi/webplugin_impl.cc |
@@ -19,7 +19,6 @@ |
#include "build/build_config.h" |
#include "cc/blink/web_layer_impl.h" |
#include "cc/layers/io_surface_layer.h" |
-#include "cc/layers/layer_settings.h" |
#include "content/child/appcache/web_application_cache_host_impl.h" |
#include "content/child/multipart_response_delegate.h" |
#include "content/child/npapi/plugin_host.h" |
@@ -577,8 +576,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(cc::LayerSettings()); |
+ io_surface_layer_ = cc::IOSurfaceLayer::Create(); |
web_layer_.reset(new cc_blink::WebLayerImpl(io_surface_layer_)); |
container_->setWebLayer(web_layer_.get()); |
} |