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

Unified Diff: Source/core/html/MediaController.cpp

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 7 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/core/html/MediaController.h ('k') | Source/core/html/ime/InputMethodContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaController.cpp
diff --git a/Source/core/html/MediaController.cpp b/Source/core/html/MediaController.cpp
index 8eae382b75edf706fb8d4122804243f1cf42b491..bc7cd178ab503724f2257d7f16cdbcaadd4c9455 100644
--- a/Source/core/html/MediaController.cpp
+++ b/Source/core/html/MediaController.cpp
@@ -43,7 +43,7 @@ using namespace std;
PassRefPtr<MediaController> MediaController::create(ExecutionContext* context)
{
- return adoptRef(new MediaController(context));
+ return adoptRefWillBeRefCountedGarbageCollected(new MediaController(context));
}
MediaController::MediaController(ExecutionContext* context)
« no previous file with comments | « Source/core/html/MediaController.h ('k') | Source/core/html/ime/InputMethodContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698