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

Unified Diff: Source/bindings/core/v8/ScriptProfiler.cpp

Issue 422293004: Update memory related v8 notifications API calls (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 | « no previous file | Source/bindings/core/v8/V8GCForContextDispose.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptProfiler.cpp
diff --git a/Source/bindings/core/v8/ScriptProfiler.cpp b/Source/bindings/core/v8/ScriptProfiler.cpp
index 3a9c24d3662c96ebc5c4f3df7ac28ebccede8eb1..a8c7a7649731bc771f2903bf695ceb78df77ecb9 100644
--- a/Source/bindings/core/v8/ScriptProfiler.cpp
+++ b/Source/bindings/core/v8/ScriptProfiler.cpp
@@ -96,7 +96,7 @@ PassRefPtrWillBeRawPtr<ScriptProfile> ScriptProfiler::stop(const String& title)
void ScriptProfiler::collectGarbage()
{
- v8::V8::LowMemoryNotification();
+ v8::Isolate::GetCurrent()->LowMemoryNotification();
}
ScriptValue ScriptProfiler::objectByHeapObjectId(unsigned id)
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8GCForContextDispose.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698