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

Unified Diff: Source/core/rendering/FastTextAutosizer.cpp

Issue 122943003: Make calls to AtomicString(const String&) explicit in rendering/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 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
« no previous file with comments | « no previous file | Source/core/rendering/HitTestResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/FastTextAutosizer.cpp
diff --git a/Source/core/rendering/FastTextAutosizer.cpp b/Source/core/rendering/FastTextAutosizer.cpp
index e58a6d3e13ce9fc0f660e9b901901bc1a7caf0f9..933dc22b10cc35f38f7aa478323ac9bd4e5e46f3 100644
--- a/Source/core/rendering/FastTextAutosizer.cpp
+++ b/Source/core/rendering/FastTextAutosizer.cpp
@@ -176,7 +176,7 @@ void FastTextAutosizer::inflate(RenderBlock* block)
AtomicString FastTextAutosizer::fingerprint(const RenderBlock* block)
{
// FIXME(crbug.com/322340): Implement a better fingerprinting algorithm.
- return String::number((unsigned long long) block);
+ return AtomicString::number((unsigned long long) block);
}
void FastTextAutosizer::recalcClusterIfNeeded(FastTextAutosizer::Cluster* cluster)
« no previous file with comments | « no previous file | Source/core/rendering/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698