Simplify how PlatformWebViews are created when view options change
Created attachment 259184 [details] Patch
Created attachment 259193 [details] Patch
Committed r188548: <http://trac.webkit.org/changeset/188548>
Comment on attachment 259193 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259193&action=review > Tools/WebKitTestRunner/TestController.cpp:755 > - if (test.urlContains("device-adapt/") || test.urlContains("device-adapt\\")) > - return true; > + if (test.urlContains("device-adapt/") || test.urlContains("device-adapt\\")) > + return true; bad indentation > Tools/WebKitTestRunner/efl/TestControllerEfl.cpp:144 > +static bool shouldUseFixedLayout(const TestInvocation& test) > +{ > +#if USE(COORDINATED_GRAPHICS) > + if (test.urlContains("sticky/") || test.urlContains("sticky\\")) > + return true; > +#endif > + return false; > +} > + It is obviously wrong, because it returns false for device-adapt tests.
(In reply to comment #4) > Comment on attachment 259193 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=259193&action=review > > > Tools/WebKitTestRunner/TestController.cpp:755 > > - if (test.urlContains("device-adapt/") || test.urlContains("device-adapt\\")) > > - return true; > > + if (test.urlContains("device-adapt/") || test.urlContains("device-adapt\\")) > > + return true; > > bad indentation > > > Tools/WebKitTestRunner/efl/TestControllerEfl.cpp:144 > > +static bool shouldUseFixedLayout(const TestInvocation& test) > > +{ > > +#if USE(COORDINATED_GRAPHICS) > > + if (test.urlContains("sticky/") || test.urlContains("sticky\\")) > > + return true; > > +#endif > > + return false; > > +} > > + > > It is obviously wrong, because it returns false for device-adapt tests. Please check bug148927 which tries to fix the regression this patch caused.