diff options
author | Ben Murdoch <benm@google.com> | 2011-05-16 18:01:30 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-05-23 18:54:15 +0100 |
commit | 0cae2b1e7dd111cf7081b49cf7411c0066b33cc6 (patch) | |
tree | 168147612f8c03d7e95a64496ac46118869694e1 /Source/WebCore | |
parent | e4427b844b712104108d886d50294f7d3a052a32 (diff) | |
download | external_webkit-0cae2b1e7dd111cf7081b49cf7411c0066b33cc6.zip external_webkit-0cae2b1e7dd111cf7081b49cf7411c0066b33cc6.tar.gz external_webkit-0cae2b1e7dd111cf7081b49cf7411c0066b33cc6.tar.bz2 |
Merge WebKit at r76408: Update Uses of Noncopyable/FastAllocBase
Upstream now uses macros rather than inheritance for classes
declard Noncopyable or Fast Allocated.
Note that in the case of PluginTimer and ClipboardAndroid we
now need to explicitly declare them fast allocated. This is
because previously they got the fast allocated methods through
a common superclass (FastAllocBase) but now both parents provide
implementations, so there is an ambiguity the compiler cannot
resolve.
See http://trac.webkit.org/changeset/76248
Change-Id: I186e3fd36bde2074d34f453983d48e8fc223f420
Diffstat (limited to 'Source/WebCore')
-rw-r--r-- | Source/WebCore/platform/android/ClipboardAndroid.h | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/android/PackageNotifier.h | 3 | ||||
-rw-r--r-- | Source/WebCore/platform/graphics/android/FontCustomPlatformData.h | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebCore/platform/android/ClipboardAndroid.h b/Source/WebCore/platform/android/ClipboardAndroid.h index 807653b..86be8f0 100644 --- a/Source/WebCore/platform/android/ClipboardAndroid.h +++ b/Source/WebCore/platform/android/ClipboardAndroid.h @@ -36,6 +36,7 @@ namespace WebCore { class CachedImage; class ClipboardAndroid : public Clipboard, public CachedResourceClient { + WTF_MAKE_FAST_ALLOCATED; public: ClipboardAndroid(ClipboardAccessPolicy policy, ClipboardType); ~ClipboardAndroid(); diff --git a/Source/WebCore/platform/android/PackageNotifier.h b/Source/WebCore/platform/android/PackageNotifier.h index 8191d84..2303f84 100644 --- a/Source/WebCore/platform/android/PackageNotifier.h +++ b/Source/WebCore/platform/android/PackageNotifier.h @@ -37,7 +37,8 @@ namespace WebCore { -class PackageNotifier : public Noncopyable { +class PackageNotifier { + WTF_MAKE_NONCOPYABLE(PackageNotifier); public: PackageNotifier(); diff --git a/Source/WebCore/platform/graphics/android/FontCustomPlatformData.h b/Source/WebCore/platform/graphics/android/FontCustomPlatformData.h index 3514ae7..b03afa9 100644 --- a/Source/WebCore/platform/graphics/android/FontCustomPlatformData.h +++ b/Source/WebCore/platform/graphics/android/FontCustomPlatformData.h @@ -38,7 +38,8 @@ namespace WebCore { class FontPlatformData; class SharedBuffer; -class FontCustomPlatformData : public Noncopyable { +class FontCustomPlatformData { + WTF_MAKE_NONCOPYABLE(FontCustomPlatformData); public: FontCustomPlatformData(SkTypeface* face); ~FontCustomPlatformData(); |