Changeset 162007 in webkit


Ignore:
Timestamp:
Jan 14, 2014 2:13:33 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r162000.
http://trac.webkit.org/changeset/162000
https://bugs.webkit.org/show_bug.cgi?id=127009

API versioning is wrong (Requested by rfong on #webkit).

Source/WebCore:

  • WebCore.xcodeproj/project.pbxproj:
  • html/HTMLCanvasElement.cpp:

(WebCore::HTMLCanvasElement::getContext):

  • loader/FrameLoaderClient.h:
  • loader/FrameLoaderTypes.h:
  • page/ChromeClient.h:

Source/WebKit2:

  • UIProcess/API/C/WKAPICast.h:
  • UIProcess/API/C/WKPageLoaderClient.h:
  • UIProcess/API/C/WKPageUIClient.h:
  • UIProcess/WebLoaderClient.cpp:
  • UIProcess/WebLoaderClient.h:
  • UIProcess/WebPageProxy.cpp:
  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • UIProcess/WebUIClient.cpp:
  • UIProcess/WebUIClient.h:
  • UIProcess/mac/WebInspectorProxyMac.mm:

(WebKit::WebInspectorProxy::platformCreateInspectorPage):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:
  • WebProcess/WebCoreSupport/WebChromeClient.h:
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
  • WebProcess/WebPage/WebPage.cpp:
  • WebProcess/WebPage/WebPage.h:

Tools:

  • MiniBrowser/mac/WK2BrowserWindowController.m:

(-[WK2BrowserWindowController awakeFromNib]):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::createOtherPage):
(WTR::TestController::createWebViewWithOptions):

Location:
trunk
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r162001 r162007  
     12014-01-14  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r162000.
     4        http://trac.webkit.org/changeset/162000
     5        https://bugs.webkit.org/show_bug.cgi?id=127009
     6
     7        API versioning is wrong (Requested by rfong on #webkit).
     8
     9        * WebCore.xcodeproj/project.pbxproj:
     10        * html/HTMLCanvasElement.cpp:
     11        (WebCore::HTMLCanvasElement::getContext):
     12        * loader/FrameLoaderClient.h:
     13        * loader/FrameLoaderTypes.h:
     14        * page/ChromeClient.h:
     15
    1162014-01-14  Bear Travis  <betravis@adobe.com>
    217
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r162000 r162007  
    32423242                93F199BE08245E59001E9ABC /* BlockExceptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 65A640F00533BB1F0085E777 /* BlockExceptions.h */; settings = {ATTRIBUTES = (Private, ); }; };
    32433243                93F199DE08245E59001E9ABC /* Position.h in Headers */ = {isa = PBXBuildFile; fileRef = BE91FC8B06133666005E3790 /* Position.h */; settings = {ATTRIBUTES = (Private, ); }; };
    3244                 93F199E508245E59001E9ABC /* HTMLCanvasElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 51F6A3D60663BF04004D2919 /* HTMLCanvasElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
     3244                93F199E508245E59001E9ABC /* HTMLCanvasElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 51F6A3D60663BF04004D2919 /* HTMLCanvasElement.h */; };
    32453245                93F199EC08245E59001E9ABC /* XSLStyleSheet.h in Headers */ = {isa = PBXBuildFile; fileRef = BC06F24A06D18A7E004A6FA3 /* XSLStyleSheet.h */; };
    32463246                93F199ED08245E59001E9ABC /* XSLTProcessor.h in Headers */ = {isa = PBXBuildFile; fileRef = BC06F24C06D18A7E004A6FA3 /* XSLTProcessor.h */; };
     
    2319123191                                93F1992F08245E59001E9ABC /* Cursor.h in Headers */,
    2319223192                                BC2272A20E82E87C00E7F975 /* CursorData.h in Headers */,
    23193                                 93F199E508245E59001E9ABC /* HTMLCanvasElement.h in Headers */,
    2319423193                                868160D618766A130021E79D /* UserActivity.h in Headers */,
    2319523194                                BC2272AD0E82E8F300E7F975 /* CursorList.h in Headers */,
     
    2395523954                                A8CFF7AA0A156978000A4234 /* HTMLBRElement.h in Headers */,
    2395623955                                A81369D2097374F600D74463 /* HTMLButtonElement.h in Headers */,
     23956                                93F199E508245E59001E9ABC /* HTMLCanvasElement.h in Headers */,
    2395723957                                07969DC017D14151007FF842 /* JSRTCStatsCallback.h in Headers */,
    2395823958                                A8DF3FD0097FA0FC0052981B /* HTMLCollection.h in Headers */,
  • trunk/Source/WebCore/html/HTMLCanvasElement.cpp

    r162000 r162007  
    3434#include "CanvasRenderingContext2D.h"
    3535#include "Chrome.h"
    36 #include "ChromeClient.h"
    3736#include "Document.h"
    3837#include "ExceptionCode.h"
    3938#include "Frame.h"
    40 #include "FrameLoaderClient.h"
    4139#include "GraphicsContext.h"
    4240#include "HTMLNames.h"
    4341#include "ImageData.h"
    4442#include "MIMETypeRegistry.h"
    45 #include "MainFrame.h"
    4643#include "Page.h"
    4744#include "RenderHTMLCanvas.h"
     
    205202    if (is2dType(type)) {
    206203        if (m_context && !m_context->is2d())
    207             return nullptr;
     204            return 0;
    208205        if (!m_context) {
    209206            bool usesDashbardCompatibilityMode = false;
     
    227224                return 0;
    228225            if (!m_context) {
    229                 Page* page = document().page();
    230                 if (page && !document().url().isLocalFile()) {
    231                     WebGLLoadPolicy policy = page->mainFrame().loader().client().webGLPolicyForHost(document().url().host());
    232 
    233                     if (policy == WebGLAsk) {
    234                         page->chrome().client().webGLContextCreated(this);
    235                         return nullptr;
    236                     }
    237                     if (policy == WebGLBlock)
    238                         return nullptr;
    239                 }
    240226                m_context = WebGLRenderingContext::create(this, static_cast<WebGLContextAttributes*>(attrs));
    241227                if (m_context) {
     
    250236    UNUSED_PARAM(attrs);
    251237#endif
    252     return nullptr;
     238    return 0;
    253239}
    254240   
  • trunk/Source/WebCore/loader/FrameLoaderClient.h

    r162000 r162007  
    332332        // notification with the given GL_ARB_robustness guilt/innocence code (see Extensions3D.h).
    333333        virtual void didLoseWebGLContext(int) { }
    334         virtual WebGLLoadPolicy webGLPolicyForHost(const String&) const { return WebGLAsk; }
    335334#endif
    336335
  • trunk/Source/WebCore/loader/FrameLoaderTypes.h

    r162000 r162007  
    106106        NotAboutToInstantiatePlugin
    107107    };
    108    
    109     enum WebGLLoadPolicy {
    110         WebGLAsk = 0,
    111         WebGLAllow,
    112         WebGLBlock
    113     };
    114108
    115109}
  • trunk/Source/WebCore/page/ChromeClient.h

    r162000 r162007  
    429429    virtual void incrementActivePageCount() { }
    430430    virtual void decrementActivePageCount() { }
    431    
    432 #if ENABLE(WEBGL)
    433     virtual void webGLContextCreated(Element*) const { }
    434 #endif
    435431
    436432protected:
  • trunk/Source/WebKit2/ChangeLog

    r162005 r162007  
     12014-01-14  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r162000.
     4        http://trac.webkit.org/changeset/162000
     5        https://bugs.webkit.org/show_bug.cgi?id=127009
     6
     7        API versioning is wrong (Requested by rfong on #webkit).
     8
     9        * UIProcess/API/C/WKAPICast.h:
     10        * UIProcess/API/C/WKPageLoaderClient.h:
     11        * UIProcess/API/C/WKPageUIClient.h:
     12        * UIProcess/WebLoaderClient.cpp:
     13        * UIProcess/WebLoaderClient.h:
     14        * UIProcess/WebPageProxy.cpp:
     15        * UIProcess/WebPageProxy.h:
     16        * UIProcess/WebPageProxy.messages.in:
     17        * UIProcess/WebUIClient.cpp:
     18        * UIProcess/WebUIClient.h:
     19        * UIProcess/mac/WebInspectorProxyMac.mm:
     20        (WebKit::WebInspectorProxy::platformCreateInspectorPage):
     21        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
     22        * WebProcess/WebCoreSupport/WebChromeClient.h:
     23        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
     24        * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
     25        * WebProcess/WebPage/WebPage.cpp:
     26        * WebProcess/WebPage/WebPage.h:
     27
    1282014-01-14  Csaba Osztrogonác  <ossy@webkit.org>
    229
  • trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h

    r162000 r162007  
    474474}
    475475
    476 inline WebCore::WebGLLoadPolicy toWebGLLoadPolicy(WKWebGLLoadPolicy webGLLoadPolicy)
    477 {
    478     switch (webGLLoadPolicy) {
    479     case kWKWebGLLoadPolicyInactive:
    480         return WebCore::WebGLAsk;
    481     case kWKWebGLLoadPolicyLoadNormally:
    482         return WebCore::WebGLAllow;
    483     case kWKWebGLLoadPolicyBlocked:
    484         return WebCore::WebGLBlock;
    485     }
    486    
    487     ASSERT_NOT_REACHED();
    488     return WebCore::WebGLAsk;
    489 }
    490 
    491476inline ProxyingRefPtr<WebGrammarDetail> toAPI(const WebCore::GrammarDetail& grammarDetail)
    492477{
  • trunk/Source/WebKit2/UIProcess/API/C/WKPageLoaderClient.h

    r162000 r162007  
    4343typedef uint32_t WKPluginLoadPolicy;
    4444
    45 enum {
    46     kWKWebGLLoadPolicyInactive = 0,
    47     kWKWebGLLoadPolicyLoadNormally,
    48     kWKWebGLLoadPolicyBlocked
    49 };
    50 typedef uint32_t WKWebGLLoadPolicy;
    51 
    5245typedef void (*WKPageLoaderClientCallback)(WKPageRef page, const void* clientInfo);
    5346typedef void (*WKPageDidStartProvisionalLoadForFrameCallback)(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void *clientInfo);
     
    7467typedef WKPluginLoadPolicy (*WKPagePluginLoadPolicyCallback)(WKPageRef page, WKPluginLoadPolicy currentPluginLoadPolicy, WKDictionaryRef pluginInfoDictionary, WKStringRef* unavailabilityDescription, const void* clientInfo);
    7568typedef void (*WKPagePluginDidFailCallback)(WKPageRef page, WKErrorCode errorCode, WKDictionaryRef pluginInfoDictionary, const void* clientInfo);
    76 typedef WKWebGLLoadPolicy (*WKPageWebGLLoadPolicyCallback)(WKPageRef page, WKStringRef host, const void* clientInfo);
    7769
    7870// Deprecated
     
    273265    // Version 3.
    274266    WKPagePluginLoadPolicyCallback                                      pluginLoadPolicy;
    275     WKPageWebGLLoadPolicyCallback                                       webGLLoadPolicy;
    276267} WKPageLoaderClientV3;
    277268
  • trunk/Source/WebKit2/UIProcess/API/C/WKPageUIClient.h

    r162000 r162007  
    8686typedef void (*WKPageHideColorPickerCallback)(WKPageRef page, const void* clientInfo);
    8787typedef void (*WKPageUnavailablePluginButtonClickedCallback)(WKPageRef page, WKPluginUnavailabilityReason pluginUnavailabilityReason, WKDictionaryRef pluginInfoDictionary, const void* clientInfo);
    88 typedef void (*WKPageWebGLContextCreatedCallback)(WKPageRef page, WKStringRef, const void* clientInfo);
    8988
    9089// Deprecated   
     
    249248    WKPageHideColorPickerCallback                                       hideColorPicker;
    250249    WKPageUnavailablePluginButtonClickedCallback                        unavailablePluginButtonClicked;
    251     WKPageWebGLContextCreatedCallback                                   webGLContextCreated;
    252250} WKPageUIClientV2;
    253251
  • trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp

    r162000 r162007  
    334334#endif // ENABLE(NETSCAPE_PLUGIN_API)
    335335
    336 #if ENABLE(WEBGL)
    337 void WebLoaderClient::webGLLoadPolicy(WebPageProxy* page, WebCore::WebGLLoadPolicy& loadPolicy, const String& host)
    338 {
    339     if (m_client.webGLLoadPolicy)
    340         loadPolicy = toWebGLLoadPolicy(m_client.webGLLoadPolicy(toAPI(page), toAPI(host.impl()), m_client.base.clientInfo));
    341 }
    342 #endif // ENABLE(WEBGL)
    343 
    344336} // namespace WebKit
  • trunk/Source/WebKit2/UIProcess/WebLoaderClient.h

    r162000 r162007  
    3131#include "SameDocumentNavigationType.h"
    3232#include "WKPage.h"
    33 #include <WebCore/FrameLoaderTypes.h>
    3433#include <WebCore/LayoutMilestones.h>
    3534#include <wtf/Forward.h>
     
    104103    void didBlockInsecurePluginVersion(WebPageProxy*, ImmutableDictionary*);
    105104#endif // ENABLE(NETSCAPE_PLUGIN_API)
    106 
    107 #if ENABLE(WEBGL)
    108     void webGLLoadPolicy(WebPageProxy*, WebCore::WebGLLoadPolicy&, const String&);
    109 #endif // ENABLE(WEBGL)
    110105};
    111106
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r162000 r162007  
    26812681#endif // ENABLE(NETSCAPE_PLUGIN_API)
    26822682
    2683 #if ENABLE(WEBGL)
    2684 void WebPageProxy::webGLContextCreated(const String& pageURLString)
    2685 {
    2686     m_uiClient.webGLContextCreated(this, pageURLString);
    2687 }
    2688 
    2689 void WebPageProxy::webGLPolicyForHost(const String& host, uint32_t& loadPolicy)
    2690 {
    2691     WebCore::WebGLLoadPolicy policy;
    2692     m_loaderClient.webGLLoadPolicy(this, policy, host);
    2693     loadPolicy = static_cast<uint32_t>(policy);
    2694 }
    2695 #endif // ENABLE(WEBGL)
    2696 
    26972683void WebPageProxy::setToolbarsAreVisible(bool toolbarsAreVisible)
    26982684{
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.h

    r162000 r162007  
    930930    void unavailablePluginButtonClicked(uint32_t opaquePluginUnavailabilityReason, const String& mimeType, const String& pluginURLString, const String& pluginsPageURLString, const String& frameURLString, const String& pageURLString);
    931931#endif // ENABLE(NETSCAPE_PLUGIN_API)
    932 #if ENABLE(WEBGL)
    933     void webGLContextCreated(const String& pageURLString);
    934     void webGLPolicyForHost(const String& host, uint32_t& loadPolicy);
    935 #endif // ENABLE(WEBGL)
    936932    void setToolbarsAreVisible(bool toolbarsAreVisible);
    937933    void getToolbarsAreVisible(bool& toolbarsAreVisible);
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in

    r162000 r162007  
    3434    UnavailablePluginButtonClicked(uint32_t pluginUnavailabilityReason, String mimeType, String pluginURLString, String pluginspageAttributeURLString, String frameURLString, String pageURLString)
    3535#endif // ENABLE(NETSCAPE_PLUGIN_API)
    36 #if ENABLE(WEBGL)
    37     WebGLContextCreated(String pageURLString)
    38     WebGLPolicyForHost(String host) -> (uint32_t loadPolicy)
    39 #endif // ENABLE(WEBGL)
    4036    DidChangeViewportProperties(WebCore::ViewportAttributes attributes)
    4137    DidReceiveEvent(uint32_t type, bool handled)
  • trunk/Source/WebKit2/UIProcess/WebUIClient.cpp

    r162000 r162007  
    208208#endif // ENABLE(NETSCAPE_PLUGIN_API)
    209209
    210 #if ENABLE(WEBGL)
    211 void WebUIClient::webGLContextCreated(WebPageProxy* page, const String& originatingURL)
    212 {
    213     if (m_client.webGLContextCreated)
    214         m_client.webGLContextCreated(toAPI(page), toAPI(originatingURL.impl()), m_client.base.clientInfo);
    215 }
    216 #endif // ENABLE(WEBGL)
    217 
    218210bool WebUIClient::implementsDidNotHandleKeyEvent() const
    219211{
  • trunk/Source/WebKit2/UIProcess/WebUIClient.h

    r162000 r162007  
    8282    void unavailablePluginButtonClicked(WebPageProxy*, WKPluginUnavailabilityReason, ImmutableDictionary*);
    8383#endif // ENABLE(NETSCAPE_PLUGIN_API)
    84 #if ENABLE(WEBGL)
    85     void webGLContextCreated(WebPageProxy*, const String&);
    86 #endif // ENABLE(WEBGL)
     84
    8785    bool implementsDidNotHandleKeyEvent() const;
    8886    void didNotHandleKeyEvent(WebPageProxy*, const NativeWebKeyboardEvent&);
  • trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm

    r162000 r162007  
    448448        0, // hideColorPicker
    449449        0, // unavailablePluginButtonClicked
    450         0, // webGLContextCreated
    451450    };
    452451
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp

    r162000 r162007  
    5959#include <WebCore/FrameLoader.h>
    6060#include <WebCore/FrameView.h>
    61 #include <WebCore/HTMLCanvasElement.h>
    6261#include <WebCore/HTMLInputElement.h>
    6362#include <WebCore/HTMLNames.h>
     
    564563}
    565564
    566 #if ENABLE(WEBGL)
    567 void WebChromeClient::webGLContextCreated(Element* element) const
    568 {
    569     String pageURLString = m_page->mainFrame()->loader().documentLoader()->responseURL().string();
    570     m_page->send(Messages::WebPageProxy::WebGLContextCreated(pageURLString));
    571 }
    572 #endif // ENABLE(WEBGL)
    573 
    574565void WebChromeClient::scrollbarsModeDidChange() const
    575566{
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h

    r162000 r162007  
    124124    virtual bool shouldUnavailablePluginMessageBeButton(WebCore::RenderEmbeddedObject::PluginUnavailabilityReason) const OVERRIDE;
    125125    virtual void unavailablePluginButtonClicked(WebCore::Element*, WebCore::RenderEmbeddedObject::PluginUnavailabilityReason) const OVERRIDE;
    126 #if ENABLE(WEBGL)
    127     virtual void webGLContextCreated(WebCore::Element*) const OVERRIDE;
    128 #endif // ENABLE(WEBGL)
    129126
    130127    virtual void scrollbarsModeDidChange() const OVERRIDE;
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

    r162000 r162007  
    13791379}
    13801380
    1381 #if ENABLE(WEBGL)
    1382 WebCore::WebGLLoadPolicy WebFrameLoaderClient::webGLPolicyForHost(const String& host) const
    1383 {
    1384     if (WebPage* webPage = m_frame->page())
    1385         return webPage->getWebGLPolicyForHost(m_frame, host);
    1386     return WebGLAsk;
    1387 }
    1388 #endif // ENABLE(WEBGL)
    1389 
    13901381PassRefPtr<Widget> WebFrameLoaderClient::createJavaAppletWidget(const IntSize& pluginSize, HTMLAppletElement* appletElement, const URL&, const Vector<String>& paramNames, const Vector<String>& paramValues)
    13911382{
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h

    r162000 r162007  
    195195    virtual void redirectDataToPlugin(WebCore::Widget* pluginWidget) OVERRIDE;
    196196   
    197 #if ENABLE(WEBGL)
    198     virtual WebCore::WebGLLoadPolicy webGLPolicyForHost(const String&) const OVERRIDE;
    199 #endif // ENABLE(WEBGL)
    200 
    201197    virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget(const WebCore::IntSize&, WebCore::HTMLAppletElement*, const WebCore::URL& baseURL, const Vector<String>& paramNames, const Vector<String>& paramValues) OVERRIDE;
    202198   
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r162000 r162007  
    591591#endif // ENABLE(NETSCAPE_PLUGIN_API)
    592592
    593 #if ENABLE(WEBGL)
    594 WebCore::WebGLLoadPolicy WebPage::getWebGLPolicyForHost(WebFrame* frame, const String& url)
    595 {
    596     WebGLLoadPolicy defaultPolicy = WebGLAsk;
    597     uint32_t policyResult = 0;
    598     // FIXME: Get rid of sendSync in favor of a non-blocking strategy.
    599     sendSync(Messages::WebPageProxy::WebGLPolicyForHost(url), Messages::WebPageProxy::WebGLPolicyForHost::Reply(policyResult));
    600     if (policyResult)
    601         return static_cast<WebGLLoadPolicy>(policyResult);
    602     return defaultPolicy;
    603 }
    604 #endif // ENABLE(WEBGL)
    605 
    606593EditorState WebPage::editorState() const
    607594{
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h

    r162000 r162007  
    288288#endif
    289289
    290 #if ENABLE(WEBGL)
    291     WebCore::WebGLLoadPolicy getWebGLPolicyForHost(WebFrame*, const String&);
    292 #endif // ENABLE(WEBGL)
    293    
    294290    EditorState editorState() const;
    295291
  • trunk/Tools/ChangeLog

    r162000 r162007  
     12014-01-14  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r162000.
     4        http://trac.webkit.org/changeset/162000
     5        https://bugs.webkit.org/show_bug.cgi?id=127009
     6
     7        API versioning is wrong (Requested by rfong on #webkit).
     8
     9        * MiniBrowser/mac/WK2BrowserWindowController.m:
     10        (-[WK2BrowserWindowController awakeFromNib]):
     11        * WebKitTestRunner/TestController.cpp:
     12        (WTR::TestController::createOtherPage):
     13        (WTR::TestController::createWebViewWithOptions):
     14
    1152014-01-13  Roger Fong  <roger_fong@apple.com>
    216
  • trunk/Tools/MiniBrowser/mac/WK2BrowserWindowController.m

    r162000 r162007  
    582582        0, // hideColorPicker
    583583        0, // unavailablePluginButtonClicked
    584         0, // webGLContextCreated
    585584    };
    586585    WKPageSetPageUIClient(_webView.pageRef, &uiClient.base);
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r162000 r162007  
    243243        0, // hideColorPicker
    244244        0, // unavailablePluginButtonClicked
    245         0, // webGLContextCreated
    246245    };
    247246    WKPageSetPageUIClient(newPage, &otherPageUIClient.base);
     
    421420        0, // hideColorPicker
    422421        unavailablePluginButtonClicked,
    423         0, // webGLContextCreated
    424422    };
    425423    WKPageSetPageUIClient(m_mainWebView->page(), &pageUIClient.base);
     
    463461        0, // pluginDidFail
    464462        pluginLoadPolicy, // pluginLoadPolicy
    465         0, // webGLLoadPolicy
    466463    };
    467464    WKPageSetPageLoaderClient(m_mainWebView->page(), &pageLoaderClient.base);
Note: See TracChangeset for help on using the changeset viewer.