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

Unified Diff: third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references 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: third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp b/third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp
deleted file mode 100644
index 3c26602945ca1cb4041107abd05c4c5c800fce0a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2014 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 "modules/webgl/CHROMIUMValuebuffer.h"
-
-#include "gpu/command_buffer/client/gles2_interface.h"
-#include "modules/webgl/WebGLRenderingContextBase.h"
-
-namespace blink {
-
-CHROMIUMValuebuffer* CHROMIUMValuebuffer::create(WebGLRenderingContextBase* ctx)
-{
- return new CHROMIUMValuebuffer(ctx);
-}
-
-CHROMIUMValuebuffer::~CHROMIUMValuebuffer()
-{
- // See the comment in WebGLObject::detachAndDeleteObject().
- detachAndDeleteObject();
-}
-
-CHROMIUMValuebuffer::CHROMIUMValuebuffer(WebGLRenderingContextBase* ctx)
- : WebGLSharedPlatform3DObject(ctx)
- , m_hasEverBeenBound(false)
-{
- GLuint buffer;
- ctx->contextGL()->GenValuebuffersCHROMIUM(1, &buffer);
- setObject(buffer);
-}
-
-void CHROMIUMValuebuffer::deleteObjectImpl(gpu::gles2::GLES2Interface* gl)
-{
- gl->DeleteValuebuffersCHROMIUM(1, &m_object);
- m_object = 0;
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698