Bug 110606 - [Chromium][DRT] DumpRenderTree TestShell::initialize should take Platform* now that WebKitPlatformSupport is empty
Summary: [Chromium][DRT] DumpRenderTree TestShell::initialize should take Platform* no...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Pilgrim (Google)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 07:04 PST by Mark Pilgrim (Google)
Modified: 2013-02-23 15:33 PST (History)
8 users (show)

See Also:


Attachments
Patch (21.68 KB, patch)
2013-02-22 07:04 PST, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pilgrim (Google) 2013-02-22 07:04:22 PST
[Chromium] DumpRenderTree TestShell::initialize should take Platform* now that WebKitPlatformSupport is empty
Comment 1 Mark Pilgrim (Google) 2013-02-22 07:04:58 PST
Created attachment 189768 [details]
Patch
Comment 2 Kentaro Hara 2013-02-22 07:16:22 PST
Comment on attachment 189768 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=189768&action=review

> Tools/DumpRenderTree/chromium/MockPlatform.cpp:32
> +#include "MockWebKitPlatformSupport.h"

MockPlatformSupport.h ?

> Tools/DumpRenderTree/chromium/MockPlatform.cpp:42
> +PassOwnPtr<MockWebKitPlatformSupport> MockWebKitPlatformSupport::create()

MockPlatformSupport? The same comment for other parts.

> Tools/DumpRenderTree/chromium/MockPlatform.h:31
> +#ifndef MockWebKitPlatformSupport_h

MockPlatform ?

> Tools/DumpRenderTree/chromium/MockPlatform.h:42
> +class MockWebKitPlatformSupport : public WebKit::Platform {

MockPlatform ?
Comment 3 WebKit Review Bot 2013-02-22 08:09:22 PST
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.
Comment 4 Adam Barth 2013-02-22 08:40:20 PST
Comment on attachment 189768 [details]
Patch

Haraken, I'm not sure I understand your comments.  We're dropping both the "WebKit" and the "Support" from the names.  The old concept was called WebKit::WebKitPlatformSupport, but we've renamed it in the API to WebKit::Platform.
Comment 5 Kentaro Hara 2013-02-22 08:48:19 PST
Comment on attachment 189768 [details]
Patch

Sorry, it looks like I added strange comments to wrong places... I wanted to say it looks strange to have 'class MockWebKitPlatformSupport' in MockPlatform.h.
Comment 6 Adam Barth 2013-02-22 08:58:39 PST
> Sorry, it looks like I added strange comments to wrong places... I wanted to say it looks strange to have 'class MockWebKitPlatformSupport' in MockPlatform.h.

Notice that "Tools/DumpRenderTree/chromium/MockPlatform.h" and "Tools/DumpRenderTree/chromium/MockPlatform.cpp" appear twice in the diff.  The reason is because Mark has "svn mv" the files and then edited them.  The first appearance in the diff shows that they were moved and the second shows the edits.  It's confusing to read the diff, but he has actually made the changes you've asked for.  :)
Comment 7 Kentaro Hara 2013-02-22 09:00:13 PST
(In reply to comment #6)
> Notice that "Tools/DumpRenderTree/chromium/MockPlatform.h" and "Tools/DumpRenderTree/chromium/MockPlatform.cpp" appear twice in the diff.  The reason is because Mark has "svn mv" the files and then edited them.  The first appearance in the diff shows that they were moved and the second shows the edits.  It's confusing to read the diff, but he has actually made the changes you've asked for.  :)

Ah, understood. Sorry for all the confusion!
Comment 8 WebKit Review Bot 2013-02-23 15:33:25 PST
Comment on attachment 189768 [details]
Patch

Clearing flags on attachment: 189768

Committed r143852: <http://trac.webkit.org/changeset/143852>
Comment 9 WebKit Review Bot 2013-02-23 15:33:29 PST
All reviewed patches have been landed.  Closing bug.