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

Unified Diff: third_party/WebKit/Source/core/page/FrameTree.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/page/FrameTree.cpp
diff --git a/third_party/WebKit/Source/core/page/FrameTree.cpp b/third_party/WebKit/Source/core/page/FrameTree.cpp
index c218e8b0f95a0bb7b3a1206b5158dc434674bcae..daf5e21122a9d7d687be5952266f193635bb8e10 100644
--- a/third_party/WebKit/Source/core/page/FrameTree.cpp
+++ b/third_party/WebKit/Source/core/page/FrameTree.cpp
@@ -179,9 +179,9 @@ AtomicString FrameTree::calculateUniqueNameForChildFrame(
uniqueName.append(frame->tree().uniqueName());
}
- uniqueName.appendLiteral("/<!--frame");
+ uniqueName.append("/<!--frame");
uniqueName.appendNumber(childCount() - (existingChildFrame ? 1 : 0));
- uniqueName.appendLiteral("-->-->");
+ uniqueName.append("-->-->");
return uniqueName.toAtomicString();
}

Powered by Google App Engine
This is Rietveld 408576698