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

Side by Side Diff: Source/core/html/canvas/WebGLSampler.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « Source/core/html/canvas/WebGLSampler.h ('k') | Source/core/html/canvas/WebGLShader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "core/html/canvas/WebGLSampler.h" 7 #include "core/html/canvas/WebGLSampler.h"
8 8
9 #include "core/html/canvas/WebGL2RenderingContextBase.h" 9 #include "core/html/canvas/WebGL2RenderingContextBase.h"
10 10
(...skipping 15 matching lines...) Expand all
26 // objects. 26 // objects.
27 detachAndDeleteObject(); 27 detachAndDeleteObject();
28 } 28 }
29 29
30 WebGLSampler::WebGLSampler(WebGL2RenderingContextBase* ctx) 30 WebGLSampler::WebGLSampler(WebGL2RenderingContextBase* ctx)
31 : WebGLSharedPlatform3DObject(ctx) 31 : WebGLSharedPlatform3DObject(ctx)
32 { 32 {
33 setObject(ctx->webContext()->createSampler()); 33 setObject(ctx->webContext()->createSampler());
34 } 34 }
35 35
36 void WebGLSampler::deleteObjectImpl(blink::WebGraphicsContext3D* context3d) 36 void WebGLSampler::deleteObjectImpl(WebGraphicsContext3D* context3d)
37 { 37 {
38 context3d->deleteSampler(m_object); 38 context3d->deleteSampler(m_object);
39 m_object = 0; 39 m_object = 0;
40 } 40 }
41 41
42 } // namespace blink 42 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLSampler.h ('k') | Source/core/html/canvas/WebGLShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698