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

Unified Diff: cc/ProgramBinding.h

Issue 10900021: Use std::string instead of WTF::String / TextStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: cc/ProgramBinding.h
diff --git a/cc/ProgramBinding.h b/cc/ProgramBinding.h
index fdf00635681877500fb4a3d05456e6920c908fb1..5c59fd26c1d9468c1f30557869c42c430315a8c9 100644
--- a/cc/ProgramBinding.h
+++ b/cc/ProgramBinding.h
@@ -7,7 +7,7 @@
#if USE(ACCELERATED_COMPOSITING)
-#include <wtf/text/WTFString.h>
+#include <string>
namespace WebKit {
class WebGraphicsContext3D;
@@ -20,7 +20,7 @@ public:
ProgramBindingBase();
~ProgramBindingBase();
- void init(WebKit::WebGraphicsContext3D*, const String& vertexShader, const String& fragmentShader);
+ void init(WebKit::WebGraphicsContext3D*, const std::string& vertexShader, const std::string& fragmentShader);
void link(WebKit::WebGraphicsContext3D*);
void cleanup(WebKit::WebGraphicsContext3D*);
@@ -29,7 +29,7 @@ public:
protected:
- unsigned loadShader(WebKit::WebGraphicsContext3D*, unsigned type, const String& shaderSource);
+ unsigned loadShader(WebKit::WebGraphicsContext3D*, unsigned type, const std::string& shaderSource);
unsigned createShaderProgram(WebKit::WebGraphicsContext3D*, unsigned vertexShader, unsigned fragmentShader);
void cleanupShaders(WebKit::WebGraphicsContext3D*);

Powered by Google App Engine
This is Rietveld 408576698