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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp

Issue 1442153002: Oilpan: correctly track MediaControlsTest's MediaControls reference. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp
index 31a29ae0c5c6582c085350615c01d1cee3193ccf..61ef850d5bb0fa198de4df01ac279eb8650befee 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp
@@ -11,6 +11,7 @@
#include "core/dom/ElementTraversal.h"
#include "core/html/HTMLVideoElement.h"
#include "core/testing/DummyPageHolder.h"
+#include "platform/heap/Handle.h"
#include <gtest/gtest.h>
namespace blink {
@@ -66,7 +67,7 @@ protected:
private:
OwnPtr<DummyPageHolder> m_pageHolder;
- MediaControls* m_mediaControls;
+ RawPtrWillBePersistent<MediaControls> m_mediaControls;
haraken 2015/11/14 07:08:23 Nit: This could be RefPtrWillBePersistent.
};
TEST_F(MediaControlsTest, HideAndShow)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698