WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112751
[chromium] move WebThemeEngine implementations to TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=112751
Summary
[chromium] move WebThemeEngine implementations to TestRunner library
jochen
Reported
2013-03-19 15:49:58 PDT
[chromium] move WebThemeEngine implementations to TestRunner library
Attachments
Patch
(150.61 KB, patch)
2013-03-19 15:50 PDT
,
jochen
no flags
Details
Formatted Diff
Diff
Patch
(150.91 KB, patch)
2013-03-19 16:05 PDT
,
jochen
no flags
Details
Formatted Diff
Diff
Patch for landing
(150.94 KB, patch)
2013-03-19 17:41 PDT
,
jochen
no flags
Details
Formatted Diff
Diff
Patch for landing
(150.92 KB, patch)
2013-03-19 22:33 PDT
,
jochen
no flags
Details
Formatted Diff
Diff
Patch for landing
(150.96 KB, patch)
2013-03-20 22:13 PDT
,
jochen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
jochen
Comment 1
2013-03-19 15:50:34 PDT
Created
attachment 193940
[details]
Patch
jochen
Comment 2
2013-03-19 15:52:31 PDT
For some reason this doesn't compile on Windows: 57>E:\b\build\slave\win_layout\build\src\third_party\WebKit\Tools\DumpRenderTree\chromium\TestRunner\src\WebThemeControlDRTWin.cpp(280): error C3861: 'failedAssertion': identifier not found 57>E:\b\build\slave\win_layout\build\src\third_party\WebKit\Tools\DumpRenderTree\chromium\TestRunner\src\WebThemeControlDRTWin.cpp(313): error C3861: 'failedAssertion': identifier not found 57>E:\b\build\slave\win_layout\build\src\third_party\WebKit\Tools\DumpRenderTree\chromium\TestRunner\src\WebThemeControlDRTWin.cpp(318): error C3861: 'failedAssertion': identifier not found 57>E:\b\build\slave\win_layout\build\src\third_party\WebKit\Tools\DumpRenderTree\chromium\TestRunner\src\WebThemeControlDRTWin.cpp(484): error C3861: 'failedAssertion': identifier not found These are WEBKIT_ASSERT_NOT_REACHED() calls which is defined in WebCommon.h included by TestCommon.h included by WebThemeControlDRTWin.cpp So given that the macro expands, and it's also working in the other files that use it, I have no idea what's going on :-/
WebKit Review Bot
Comment 3
2013-03-19 15:52:32 PDT
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
Adam Barth
Comment 4
2013-03-19 15:54:00 PDT
Comment on
attachment 193940
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=193940&action=review
> Tools/DumpRenderTree/DumpRenderTree.gypi:93 > + 'chromium/TestRunner/src/WebThemeControlDRTWin.cpp', > + 'chromium/TestRunner/src/WebThemeControlDRTWin.h',
The suffix DRT doesn't really make sense inside TestRunner....
Adam Barth
Comment 5
2013-03-19 15:54:55 PDT
Comment on
attachment 193940
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=193940&action=review
> Tools/DumpRenderTree/chromium/TestRunner/src/WebThemeControlDRTWin.cpp:41 > +#include "skia/ext/skia_utils_win.h"
Do we need to add a dependency on skia to the TestRunner GYP declarations?
jochen
Comment 6
2013-03-19 15:56:13 PDT
(In reply to
comment #5
)
> (From update of
attachment 193940
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=193940&action=review
> > > Tools/DumpRenderTree/chromium/TestRunner/src/WebThemeControlDRTWin.cpp:41 > > +#include "skia/ext/skia_utils_win.h" > > Do we need to add a dependency on skia to the TestRunner GYP declarations?
It's already there for the platform canvas in WebTestProxy
jochen
Comment 7
2013-03-19 16:05:36 PDT
Created
attachment 193946
[details]
Patch
jochen
Comment 8
2013-03-19 16:06:36 PDT
(In reply to
comment #4
)
> (From update of
attachment 193940
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=193940&action=review
> > > Tools/DumpRenderTree/DumpRenderTree.gypi:93 > > + 'chromium/TestRunner/src/WebThemeControlDRTWin.cpp', > > + 'chromium/TestRunner/src/WebThemeControlDRTWin.h', > > The suffix DRT doesn't really make sense inside TestRunner....
Renamed WebTheme(.*)DRT(.*) to WebTestTheme$1$2
Adam Barth
Comment 9
2013-03-19 17:22:11 PDT
Comment on
attachment 193946
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=193946&action=review
rs=me
> Tools/DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h:90 > + std::auto_ptr<WebKit::WebThemeEngine> m_themeEngine;
Isn't this the bad case for auto_ptr? Rather than forward declaring WebThemeEngine, we should probably #include it.
jochen
Comment 10
2013-03-19 17:41:38 PDT
Created
attachment 193955
[details]
Patch for landing
jochen
Comment 11
2013-03-19 17:42:06 PDT
(In reply to
comment #9
)
> (From update of
attachment 193946
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=193946&action=review
> > rs=me > > > Tools/DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h:90 > > + std::auto_ptr<WebKit::WebThemeEngine> m_themeEngine; > > Isn't this the bad case for auto_ptr? Rather than forward declaring WebThemeEngine, we should probably #include it.
done I also figured out the reason for the compile failure, it was missing a using namespace WebKit...
WebKit Review Bot
Comment 12
2013-03-19 19:01:14 PDT
Comment on
attachment 193955
[details]
Patch for landing Clearing flags on attachment: 193955 Committed
r146290
: <
http://trac.webkit.org/changeset/146290
>
WebKit Review Bot
Comment 13
2013-03-19 19:01:18 PDT
All reviewed patches have been landed. Closing bug.
Kenneth Russell
Comment 14
2013-03-19 19:13:02 PDT
This broke the Chromium Mac build:
http://build.webkit.org/builders/Chromium%20Mac%20Release/builds/58149
Rolling it out.
Kenneth Russell
Comment 15
2013-03-19 19:14:49 PDT
Reverted
r146290
for reason: Broke Chromium Mac build. Committed
r146293
: <
http://trac.webkit.org/changeset/146293
>
Kenneth Russell
Comment 16
2013-03-19 20:02:20 PDT
FYI, this broke the Windows build too:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20Builder/builds/37214
jochen
Comment 17
2013-03-19 22:33:18 PDT
Created
attachment 193987
[details]
Patch for landing
WebKit Review Bot
Comment 18
2013-03-19 23:01:50 PDT
Comment on
attachment 193987
[details]
Patch for landing Clearing flags on attachment: 193987 Committed
r146304
: <
http://trac.webkit.org/changeset/146304
>
WebKit Review Bot
Comment 19
2013-03-19 23:01:56 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 20
2013-03-20 04:37:12 PDT
Re-opened since this is blocked by
bug 112788
jochen
Comment 21
2013-03-20 22:13:05 PDT
Created
attachment 194183
[details]
Patch for landing
WebKit Review Bot
Comment 22
2013-03-20 23:19:15 PDT
Comment on
attachment 194183
[details]
Patch for landing Clearing flags on attachment: 194183 Committed
r146439
: <
http://trac.webkit.org/changeset/146439
>
WebKit Review Bot
Comment 23
2013-03-20 23:19:20 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug