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

Unified Diff: Source/platform/heap/Heap.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/HeapLinkedStack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.cpp
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
index 66994a442cb49a55b1c517d2dada20bc4522339d..3b77309dd2369f8eee6f802a6265fbb66bef65da 100644
--- a/Source/platform/heap/Heap.cpp
+++ b/Source/platform/heap/Heap.cpp
@@ -55,7 +55,7 @@
#include <windows.h>
#endif
-namespace WebCore {
+namespace blink {
#if ENABLE(GC_TRACING)
static String classOf(const void* object)
@@ -1753,7 +1753,7 @@ public:
for (LiveObjectMap::iterator it = currentlyLive().begin(), end = currentlyLive().end(); it != end; ++it) {
fprintf(stderr, "%s %u", it->key.ascii().data(), it->value.size());
- if (it->key == "WebCore::Document")
+ if (it->key == "blink::Document")
reportStillAlive(it->value, previouslyLive().get(it->key));
fprintf(stderr, "\n");
@@ -1960,13 +1960,13 @@ String Heap::createBacktraceString()
StringBuilder builder;
builder.append("Persistent");
bool didAppendFirstName = false;
- // Skip frames before/including "WebCore::Persistent".
+ // Skip frames before/including "blink::Persistent".
bool didSeePersistent = false;
for (int i = 0; i < stackFrameSize && framesToShow > 0; ++i) {
FrameToNameScope frameToName(stackFrame[i]);
if (!frameToName.nullableName())
continue;
- if (strstr(frameToName.nullableName(), "WebCore::Persistent")) {
+ if (strstr(frameToName.nullableName(), "blink::Persistent")) {
didSeePersistent = true;
continue;
}
@@ -1980,7 +1980,7 @@ String Heap::createBacktraceString()
builder.append(frameToName.nullableName());
--framesToShow;
}
- return builder.toString().replace("WebCore::", "");
+ return builder.toString().replace("blink::", "");
}
#endif
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/HeapLinkedStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698