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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.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/scrolling/ScrollingCoordinator.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
index 6c487e3280bfd527b92ff3c29934cc3b3ffc7692..c661b688be0c31b7373c4e23bedb1268043d3f6e 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -1036,15 +1036,15 @@ String ScrollingCoordinator::mainThreadScrollingReasonsAsText(MainThreadScrollin
StringBuilder stringBuilder;
if (reasons & MainThreadScrollingReason::kHasBackgroundAttachmentFixedObjects)
- stringBuilder.appendLiteral("Has background-attachment:fixed, ");
+ stringBuilder.append("Has background-attachment:fixed, ");
if (reasons & MainThreadScrollingReason::kHasNonLayerViewportConstrainedObjects)
- stringBuilder.appendLiteral("Has non-layer viewport-constrained objects, ");
+ stringBuilder.append("Has non-layer viewport-constrained objects, ");
if (reasons & MainThreadScrollingReason::kHasStickyPositionObjects)
- stringBuilder.appendLiteral("Has sticky position objects, ");
+ stringBuilder.append("Has sticky position objects, ");
if (reasons & MainThreadScrollingReason::kThreadedScrollingDisabled)
- stringBuilder.appendLiteral("Threaded scrolling is disabled, ");
+ stringBuilder.append("Threaded scrolling is disabled, ");
if (reasons & MainThreadScrollingReason::kAnimatingScrollOnMainThread)
- stringBuilder.appendLiteral("Animating scroll on main thread, ");
+ stringBuilder.append("Animating scroll on main thread, ");
if (stringBuilder.length())
stringBuilder.resize(stringBuilder.length() - 2);
« no previous file with comments | « third_party/WebKit/Source/core/page/FrameTree.cpp ('k') | third_party/WebKit/Source/core/svg/SVGParsingError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698