⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 107161 in webkit


Ignore:
Timestamp:
Feb 8, 2012, 5:56:03 PM (15 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium] Avoid creating a temporary GraphicsContext3D if someone requests the WebView's GraphicsContext3D before initialization is complete
https://bugs.webkit.org/show_bug.cgi?id=78154

Patch by James Robinson <jamesr@chromium.org> on 2012-02-08
Reviewed by Kenneth Russell.

  • platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:

(WebCore::CCSingleThreadProxy::context):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107160 r107161  
     12012-02-08  James Robinson  <jamesr@chromium.org>
     2
     3        [chromium] Avoid creating a temporary GraphicsContext3D if someone requests the WebView's GraphicsContext3D before initialization is complete
     4        https://bugs.webkit.org/show_bug.cgi?id=78154
     5
     6        Reviewed by Kenneth Russell.
     7
     8        * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
     9        (WebCore::CCSingleThreadProxy::context):
     10
    1112012-02-08  David Hyatt  <hyatt@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp

    r106986 r107161  
    9696{
    9797    ASSERT(CCProxy::isMainThread());
     98    if (m_contextBeforeInitialization)
     99        return m_contextBeforeInitialization.get();
    98100    DebugScopedSetImplThread impl;
    99101    return m_layerTreeHostImpl->context();
Note: See TracChangeset for help on using the changeset viewer.