Bug 92256

Summary: [chromium] don't use webkit_support methods directly from test runners but through the test delegate
Product: WebKit Reporter: jochen
Component: New BugsAssignee: jochen
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, tkent, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 91308, 92277    
Attachments:
Description Flags
Patch
none
Patch for landing none

jochen
Reported 2012-07-25 08:20:45 PDT
[chromium] don't use webkit_support methods directly from test runners but through the test delegate
Attachments
Patch (13.30 KB, patch)
2012-07-25 08:23 PDT, jochen
no flags
Patch for landing (13.47 KB, patch)
2012-07-25 11:33 PDT, jochen
no flags
jochen
Comment 1 2012-07-25 08:23:41 PDT
Adam Barth
Comment 2 2012-07-25 08:34:56 PDT
Comment on attachment 154360 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154360&action=review > Tools/DumpRenderTree/chromium/TestRunner/GamepadController.h:63 > - WebKit::WebGamepads internalData; > + WebKit::WebGamepads m_internalData; m_internalData is such a terrible name. How about m_gamepads? > Tools/DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp:73 > - // m_gamepadController doesn't depend on WebView. > + m_gamepadController->setDelegate(0); I would start a new stanza for setDelegate(0) below the setWebView(0) stanza.
jochen
Comment 3 2012-07-25 11:33:05 PDT
Created attachment 154401 [details] Patch for landing
jochen
Comment 4 2012-07-25 11:33:23 PDT
(In reply to comment #2) > (From update of attachment 154360 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=154360&action=review > > > Tools/DumpRenderTree/chromium/TestRunner/GamepadController.h:63 > > - WebKit::WebGamepads internalData; > > + WebKit::WebGamepads m_internalData; > > m_internalData is such a terrible name. How about m_gamepads? sg > > > Tools/DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp:73 > > - // m_gamepadController doesn't depend on WebView. > > + m_gamepadController->setDelegate(0); > > I would start a new stanza for setDelegate(0) below the setWebView(0) stanza. done
WebKit Review Bot
Comment 5 2012-07-25 14:29:04 PDT
Comment on attachment 154401 [details] Patch for landing Clearing flags on attachment: 154401 Committed r123661: <http://trac.webkit.org/changeset/123661>
WebKit Review Bot
Comment 6 2012-07-25 14:29:08 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.