Changeset 52802 in webkit


Ignore:
Timestamp:
Jan 5, 2010 10:14:22 AM (14 years ago)
Author:
Adam Roben
Message:

Fix WebKitCreateInstance helper

Part of <http://webkit.org/b/33212> Small fixes/improvements to
WebKitAPITest

Reviewed by Sam Weinig.

  • WebKitAPITest/tests/WebViewDestruction.cpp:

(WebKitAPITest::WebKitCreateInstance): Pass the pointer straight
through, instead of taking its address.

Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r52791 r52802  
     12010-01-05  Adam Roben  <aroben@apple.com>
     2
     3        Fix WebKitCreateInstance helper
     4
     5        Part of <http://webkit.org/b/33212> Small fixes/improvements to
     6        WebKitAPITest
     7
     8        Reviewed by Sam Weinig.
     9
     10        * WebKitAPITest/tests/WebViewDestruction.cpp:
     11        (WebKitAPITest::WebKitCreateInstance): Pass the pointer straight
     12        through, instead of taking its address.
     13
    1142010-01-04  Maciej Stachowiak  <mjs@apple.com>
    215
  • trunk/WebKitTools/WebKitAPITest/tests/WebViewDestruction.cpp

    r52753 r52802  
    3535static HRESULT WebKitCreateInstance(REFCLSID clsid, T** object)
    3636{
    37     return WebKitCreateInstance(clsid, 0, __uuidof(T), reinterpret_cast<void**>(&object));
     37    return WebKitCreateInstance(clsid, 0, __uuidof(T), reinterpret_cast<void**>(object));
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.