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

Unified Diff: components/test_runner/test_plugin.cc

Issue 1935783002: Delete blink::WebGraphicsContext3D and cc_blink::ContextProviderWebContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharegroup
Patch Set: rmwgc3d: export Created 4 years, 8 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: components/test_runner/test_plugin.cc
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc
index 5a83df492397f8969ab1a8e3c98d14693dc7d2e6..61e12204ed69d91e6b25438b4ee5d3ee3b7b75d4 100644
--- a/components/test_runner/test_plugin.cc
+++ b/components/test_runner/test_plugin.cc
@@ -21,7 +21,6 @@
#include "gpu/command_buffer/client/gles2_interface.h"
#include "third_party/WebKit/public/platform/Platform.h"
#include "third_party/WebKit/public/platform/WebCompositorSupport.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
#include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h"
#include "third_party/WebKit/public/platform/WebTaskRunner.h"
#include "third_party/WebKit/public/platform/WebThread.h"
@@ -125,7 +124,6 @@ TestPlugin::TestPlugin(blink::WebFrame* frame,
: frame_(frame),
delegate_(delegate),
container_(nullptr),
- context_(nullptr),
gl_(nullptr),
color_texture_(0),
mailbox_changed_(false),
@@ -189,7 +187,6 @@ bool TestPlugin::initialize(blink::WebPluginContainer* container) {
context_provider_ = base::WrapUnique(
blink::Platform::current()->createOffscreenGraphicsContext3DProvider(
attrs, url, nullptr, &gl_info));
- context_ = context_provider_ ? context_provider_->context3d() : nullptr;
gl_ = context_provider_ ? context_provider_->contextGL() : nullptr;
if (!InitScene())

Powered by Google App Engine
This is Rietveld 408576698