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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 2017053003: Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
index 71b7d2dc6dbd3e22a99a0895097b8bccf5cf4530..688a1963bf68e261869055bb8a18d1bbf0ca9c32 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
@@ -404,7 +404,7 @@ void InspectorLayerTreeAgent::replaySnapshot(ErrorString* errorString, const Str
return;
}
StringBuilder url;
- url.appendLiteral("data:image/png;base64,");
+ url.append("data:image/png;base64,");
url.reserveCapacity(url.length() + base64Data->size());
url.append(base64Data->begin(), base64Data->size());
*dataURL = url.toString();

Powered by Google App Engine
This is Rietveld 408576698