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

Unified Diff: Source/core/platform/graphics/filters/custom/CustomFilterValidatedProgram.cpp

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 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: Source/core/platform/graphics/filters/custom/CustomFilterValidatedProgram.cpp
diff --git a/Source/core/platform/graphics/filters/custom/CustomFilterValidatedProgram.cpp b/Source/core/platform/graphics/filters/custom/CustomFilterValidatedProgram.cpp
index 02076eaf9522a8b0537bc7b380c735760e803321..35aa68e770e8543c0bac2a23053f3af13dd88ac6 100644
--- a/Source/core/platform/graphics/filters/custom/CustomFilterValidatedProgram.cpp
+++ b/Source/core/platform/graphics/filters/custom/CustomFilterValidatedProgram.cpp
@@ -133,7 +133,7 @@ static bool validateSymbols(const Vector<ANGLEShaderSymbol>& symbols, CustomFilt
String CustomFilterValidatedProgram::defaultVertexShaderString()
{
- DEFINE_STATIC_LOCAL(String, vertexShaderString, (ASCIILiteral(SHADER(
+ DEFINE_STATIC_LOCAL(String, vertexShaderString, (SHADER(
attribute mediump vec4 a_position;
uniform mediump mat4 u_projectionMatrix;
@@ -141,17 +141,17 @@ String CustomFilterValidatedProgram::defaultVertexShaderString()
{
gl_Position = u_projectionMatrix * a_position;
}
- ))));
+ )));
return vertexShaderString;
}
String CustomFilterValidatedProgram::defaultFragmentShaderString()
{
- DEFINE_STATIC_LOCAL(String, fragmentShaderString, (ASCIILiteral(SHADER(
+ DEFINE_STATIC_LOCAL(String, fragmentShaderString, (SHADER(
void main()
{
}
- ))));
+ )));
return fragmentShaderString;
}
« no previous file with comments | « Source/core/platform/graphics/GraphicsContextAnnotation.cpp ('k') | Source/core/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698