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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2643773007: Remove internals.address(node) (Closed)
Patch Set: Created 3 years, 11 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index faf7bfe8523ea355cc4011d27b98600095f5f033..94f3a72f91d0c1f167d963f19a477deb9001cf67 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -280,13 +280,6 @@ unsigned Internals::workerThreadCount() const {
return WorkerThread::workerThreadCount();
}
-String Internals::address(Node* node) {
- char buf[32];
- sprintf(buf, "%p", node);
-
- return String(buf);
-}
-
GCObservation* Internals::observeGC(ScriptValue scriptValue) {
v8::Local<v8::Value> observedValue = scriptValue.v8Value();
DCHECK(!observedValue.IsEmpty());

Powered by Google App Engine
This is Rietveld 408576698