Changeset 108902 in webkit


Ignore:
Timestamp:
Feb 25, 2012 10:25:33 AM (12 years ago)
Author:
enne@google.com
Message:

[chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
https://bugs.webkit.org/show_bug.cgi?id=78404

r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
constructor (i.e. "has internal linkage but is not defined"). Fixed
locally by changing copy initialization to direct initialization.

  • tests/TiledLayerChromiumTest.cpp:

(WTF::TEST):

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

Legend:

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

    r108886 r108902  
     12012-02-25  Adrienne Walker  <enne@google.com>
     2
     3        [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
     4        https://bugs.webkit.org/show_bug.cgi?id=78404
     5
     6        r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
     7        constructor (i.e. "has internal linkage but is not defined"). Fixed
     8        locally by changing copy initialization to direct initialization.
     9
     10        * tests/TiledLayerChromiumTest.cpp:
     11        (WTF::TEST):
     12
    1132012-02-24  Tien-Ren Chen  <trchen@chromium.org>
    214
  • trunk/Source/WebKit/chromium/tests/TiledLayerChromiumTest.cpp

    r108886 r108902  
    232232    RefPtr<FakeTiledLayerChromium> layer = adoptRef(new FakeTiledLayerChromium(textureManager.get()));
    233233    DebugScopedSetImplThread implThread;
    234     OwnPtr<FakeCCTiledLayerImpl> layerImpl = adoptPtr(new FakeCCTiledLayerImpl(0));
     234    OwnPtr<FakeCCTiledLayerImpl> layerImpl(adoptPtr(new FakeCCTiledLayerImpl(0)));
    235235
    236236    FakeTextureAllocator textureAllocator;
     
    267267    RefPtr<FakeTiledLayerChromium> layer = adoptRef(new FakeTiledLayerChromium(textureManager.get()));
    268268    DebugScopedSetImplThread implThread;
    269     OwnPtr<FakeCCTiledLayerImpl> layerImpl = adoptPtr(new FakeCCTiledLayerImpl(0));
     269    OwnPtr<FakeCCTiledLayerImpl> layerImpl(adoptPtr(new FakeCCTiledLayerImpl(0)));
    270270
    271271    FakeTextureAllocator textureAllocator;
     
    333333    RefPtr<FakeTiledLayerChromium> layer = adoptRef(new FakeTiledLayerChromium(textureManager.get()));
    334334    DebugScopedSetImplThread implThread;
    335     OwnPtr<FakeCCTiledLayerImpl> layerImpl = adoptPtr(new FakeCCTiledLayerImpl(0));
     335    OwnPtr<FakeCCTiledLayerImpl> layerImpl(adoptPtr(new FakeCCTiledLayerImpl(0)));
    336336
    337337    FakeTextureAllocator textureAllocator;
     
    369369    RefPtr<FakeTiledLayerChromium> layer = adoptRef(new FakeTiledLayerChromium(textureManager.get()));
    370370    DebugScopedSetImplThread implThread;
    371     OwnPtr<FakeCCTiledLayerImpl> layerImpl = adoptPtr(new FakeCCTiledLayerImpl(0));
     371    OwnPtr<FakeCCTiledLayerImpl> layerImpl(adoptPtr(new FakeCCTiledLayerImpl(0)));
    372372
    373373    FakeTextureAllocator textureAllocator;
     
    449449    RefPtr<FakeTiledLayerChromium> layer = adoptRef(new FakeTiledLayerChromium(textureManager.get()));
    450450    DebugScopedSetImplThread implThread;
    451     OwnPtr<FakeCCTiledLayerImpl> layerImpl = adoptPtr(new FakeCCTiledLayerImpl(0));
     451    OwnPtr<FakeCCTiledLayerImpl> layerImpl(adoptPtr(new FakeCCTiledLayerImpl(0)));
    452452
    453453    FakeTextureAllocator textureAllocator;
Note: See TracChangeset for help on using the changeset viewer.