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

Unified Diff: third_party/WebKit/Source/core/CoreInitializer.cpp

Issue 2110813003: Move all the AtomicString table into AtomicStringTable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments. Created 4 years, 6 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 | third_party/WebKit/Source/wtf/WTFThreadData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/CoreInitializer.cpp
diff --git a/third_party/WebKit/Source/core/CoreInitializer.cpp b/third_party/WebKit/Source/core/CoreInitializer.cpp
index ddfa5a193b55ee55b0c92ed54d020f9e2aa5aa7c..e7c97f824d38770901873d3a0aae616e41f555c3 100644
--- a/third_party/WebKit/Source/core/CoreInitializer.cpp
+++ b/third_party/WebKit/Source/core/CoreInitializer.cpp
@@ -60,6 +60,7 @@
#include "platform/weborigin/SchemeRegistry.h"
#include "platform/weborigin/SecurityPolicy.h"
#include "wtf/allocator/Partitions.h"
+#include "wtf/text/AtomicStringTable.h"
namespace blink {
@@ -104,7 +105,8 @@ void CoreInitializer::initialize()
StringImpl::reserveStaticStringsCapacityForSize(coreStaticStringsCount + StringImpl::allStaticStrings().size());
QualifiedName::initAndReserveCapacityForSize(qualifiedNamesCount);
- AtomicString::reserveTableCapacity(coreStaticStringsCount);
+
+ AtomicStringTable::instance().reserveCapacity(coreStaticStringsCount);
HTMLNames::init();
SVGNames::init();
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/WTFThreadData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698