X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fscreen_orientation%2FScreenOrientation.cpp;h=d83104ecca5e7c6db7dfe9b2287f402470a561c4;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=0172e47e2fe29d1d00ef5bd28a7fd6826cbd2f87;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp b/src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp index 0172e47..d83104e 100644 --- a/src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp +++ b/src/third_party/WebKit/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