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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.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/InspectorApplicationCacheAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.cpp
index 76ce28102c54dedcd95ae55a1ade625a97a5ce74..b683b5dafc434d8b4b1f1fd0dd4717275442491e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorApplicationCacheAgent.cpp
@@ -174,19 +174,19 @@ std::unique_ptr<protocol::ApplicationCache::ApplicationCacheResource> InspectorA
{
StringBuilder builder;
if (resourceInfo.m_isMaster)
- builder.appendLiteral("Master ");
+ builder.append("Master ");
if (resourceInfo.m_isManifest)
- builder.appendLiteral("Manifest ");
+ builder.append("Manifest ");
if (resourceInfo.m_isFallback)
- builder.appendLiteral("Fallback ");
+ builder.append("Fallback ");
if (resourceInfo.m_isForeign)
- builder.appendLiteral("Foreign ");
+ builder.append("Foreign ");
if (resourceInfo.m_isExplicit)
- builder.appendLiteral("Explicit ");
+ builder.append("Explicit ");
std::unique_ptr<protocol::ApplicationCache::ApplicationCacheResource> value = protocol::ApplicationCache::ApplicationCacheResource::create()
.setUrl(resourceInfo.m_resource.getString())

Powered by Google App Engine
This is Rietveld 408576698