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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/GLStringQuery.h

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #ifndef GLStringQuery_h 5 #ifndef GLStringQuery_h
6 #define GLStringQuery_h 6 #define GLStringQuery_h
7 7
8 #include "gpu/command_buffer/client/gles2_interface.h" 8 #include "gpu/command_buffer/client/gles2_interface.h"
9 #include "wtf/text/WTFString.h" 9 #include "platform/wtf/text/WTFString.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 // Performs a query for a string on GLES2Interface and returns a WTF::String. If 13 // Performs a query for a string on GLES2Interface and returns a WTF::String. If
14 // it is unable to query the string, it wil return an empty WTF::String. 14 // it is unable to query the string, it wil return an empty WTF::String.
15 class GLStringQuery { 15 class GLStringQuery {
16 public: 16 public:
17 struct ProgramInfoLog { 17 struct ProgramInfoLog {
18 static void LengthFunction(gpu::gles2::GLES2Interface* gl, 18 static void LengthFunction(gpu::gles2::GLES2Interface* gl,
19 GLuint id, 19 GLuint id,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 DCHECK_EQ(returned_length + 1, length); 80 DCHECK_EQ(returned_length + 1, length);
81 return String(name_impl.Release()); 81 return String(name_impl.Release());
82 } 82 }
83 83
84 private: 84 private:
85 gpu::gles2::GLES2Interface* gl_; 85 gpu::gles2::GLES2Interface* gl_;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 #endif // GLStringQuery_h 89 #endif // GLStringQuery_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698