Changeset 112351 in webkit


Ignore:
Timestamp:
Mar 27, 2012 6:56:30 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

webkit_unit_tests crashing on chromium lion in ScrollbarLayerChromiumTest.resolveScrollLayerPointer
https://bugs.webkit.org/show_bug.cgi?id=82381

Patch by James Robinson <jamesr@chromium.org> on 2012-03-27
Reviewed by Adrienne Walker.

Use the mock scrollbar theme for this unit test. The real ScrollbarThemeMac isn't compatible with the mocks this
test uses and the test isn't designed to cover the theming code, only code inside the compositor.

  • tests/ScrollbarLayerChromiumTest.cpp:

(WebCore::TEST):

Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r112346 r112351  
     12012-03-27  James Robinson  <jamesr@chromium.org>
     2
     3        webkit_unit_tests crashing on chromium lion in ScrollbarLayerChromiumTest.resolveScrollLayerPointer
     4        https://bugs.webkit.org/show_bug.cgi?id=82381
     5
     6        Reviewed by Adrienne Walker.
     7
     8        Use the mock scrollbar theme for this unit test. The real ScrollbarThemeMac isn't compatible with the mocks this
     9        test uses and the test isn't designed to cover the theming code, only code inside the compositor.
     10
     11        * tests/ScrollbarLayerChromiumTest.cpp:
     12        (WebCore::TEST):
     13
    1142012-03-27  Dirk Pranke  <dpranke@chromium.org>
    215
  • trunk/Source/WebKit/chromium/tests/ScrollbarLayerChromiumTest.cpp

    r110338 r112351  
    2828
    2929#include "Scrollbar.h"
     30#include "Settings.h"
    3031#include "TreeSynchronizer.h"
    3132#include "cc/CCScrollbarLayerImpl.h"
     
    9192    DebugScopedSetImplThread impl;
    9293
     94    Settings::setMockScrollbarsEnabled(true);
    9395    {
    9496        RefPtr<MockScrollbar> scrollbar = adoptRef(new MockScrollbar);
Note: See TracChangeset for help on using the changeset viewer.