Remove GrStringBuilder
Review URL: http://codereview.appspot.com/6343093/
git-svn-id: http://skia.googlecode.com/svn/trunk@4514 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLShaderBuilder.cpp b/src/gpu/gl/GrGLShaderBuilder.cpp
index 0f9331c..4074c4a 100644
--- a/src/gpu/gl/GrGLShaderBuilder.cpp
+++ b/src/gpu/gl/GrGLShaderBuilder.cpp
@@ -73,7 +73,7 @@
void GrGLShaderBuilder::setupTextureAccess(SamplerMode samplerMode,
int stageNum) {
- GrStringBuilder retval;
+ SkString retval;
fTexFunc = "texture2D";
switch (samplerMode) {
@@ -161,7 +161,7 @@
*vsOutName = fVSOutputs.back().getName().c_str();
}
// input to FS comes either from VS or GS
- const GrStringBuilder* fsName;
+ const SkString* fsName;
if (fUsesGS) {
// if we have a GS take each varying in as an array
// and output as non-array.
@@ -193,7 +193,7 @@
int stageNum,
const char** vsOutName,
const char** fsInName) {
- GrStringBuilder nameWithStage(name);
+ SkString nameWithStage(name);
nameWithStage.appendS32(stageNum);
this->addVarying(type, nameWithStage.c_str(), vsOutName, fsInName);
}