Index: Source/modules/screen_orientation/ScreenOrientation.cpp |
diff --git a/Source/modules/screen_orientation/ScreenOrientation.cpp b/Source/modules/screen_orientation/ScreenOrientation.cpp |
index 0172e47e2fe29d1d00ef5bd28a7fd6826cbd2f87..d83104ecca5e7c6db7dfe9b2287f402470a561c4 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientation.cpp |
+++ b/Source/modules/screen_orientation/ScreenOrientation.cpp |
@@ -88,7 +88,7 @@ ScreenOrientation* ScreenOrientation::create(LocalFrame* frame) |
{ |
ASSERT(frame); |
- ScreenOrientation* orientation = adoptRefCountedGarbageCollectedWillBeNoop(new ScreenOrientation(frame)); |
+ ScreenOrientation* orientation = new ScreenOrientation(frame); |
ASSERT(orientation->controller()); |
// FIXME: ideally, we would like to provide the ScreenOrientationController |
// the case where it is not defined but for the moment, it is eagerly |