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

Unified Diff: webkit/common/gpu/webgraphicscontext3d_provider_impl.cc

Issue 126093010: Use ContextProvider subclass to provide WGC3D pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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/common/gpu/webgraphicscontext3d_provider_impl.h ('k') | webkit/common/gpu/webkit_gpu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/gpu/webgraphicscontext3d_provider_impl.cc
diff --git a/webkit/common/gpu/webgraphicscontext3d_provider_impl.cc b/webkit/common/gpu/webgraphicscontext3d_provider_impl.cc
deleted file mode 100644
index 5629131678018fda9bf89cf379b718890db57414..0000000000000000000000000000000000000000
--- a/webkit/common/gpu/webgraphicscontext3d_provider_impl.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "webkit/common/gpu/webgraphicscontext3d_provider_impl.h"
-
-#include "cc/output/context_provider.h"
-
-namespace webkit {
-namespace gpu {
-
-WebGraphicsContext3DProviderImpl::WebGraphicsContext3DProviderImpl(
- scoped_refptr<cc::ContextProvider> provider)
- : provider_(provider) {}
-
-WebGraphicsContext3DProviderImpl::~WebGraphicsContext3DProviderImpl() {}
-
-blink::WebGraphicsContext3D* WebGraphicsContext3DProviderImpl::context3d() {
- return provider_->Context3d();
-}
-
-GrContext* WebGraphicsContext3DProviderImpl::grContext() {
- return provider_->GrContext();
-}
-
-} // namespace gpu
-} // namespace webkit
« no previous file with comments | « webkit/common/gpu/webgraphicscontext3d_provider_impl.h ('k') | webkit/common/gpu/webkit_gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698