Changeset 99769 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 3:27:51 PM (14 years ago)
Author:
alexis.menard@openbossa.org
Message:

WebGraphicsLayer behaves wrongly when no contentsScale is set.
https://bugs.webkit.org/show_bug.cgi?id=71959

Reviewed by Noam Rosenthal.

The contentsScale needs to get a default value just like
TiledBackingStore in case no value is explicitely set.

It is covered by existing tests.

  • WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:

(WebCore::WebGraphicsLayer::WebGraphicsLayer):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r99754 r99769  
     12011-11-09  Alexis Menard  <alexis.menard@openbossa.org>
     2
     3        WebGraphicsLayer behaves wrongly when no contentsScale is set.
     4        https://bugs.webkit.org/show_bug.cgi?id=71959
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        The contentsScale needs to get a default value just like
     9        TiledBackingStore in case no value is explicitely set.
     10
     11        It is covered by existing tests.
     12
     13        * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
     14        (WebCore::WebGraphicsLayer::WebGraphicsLayer):
     15
    1162011-11-09  Mark Hahnenberg  <mhahnenberg@apple.com>
    217
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp

    r97639 r99769  
    8181    , m_layerTreeTileClient(0)
    8282    , m_mainBackingStore(adoptPtr(new TiledBackingStore(this, TiledBackingStoreRemoteTileBackend::create(this))))
     83    , m_contentsScale(1.f)
    8384#endif
    8485{
Note: See TracChangeset for help on using the changeset viewer.