Title: [141873] trunk/Source/WebCore
Revision
141873
Author
morr...@google.com
Date
2013-02-05 01:19:31 -0800 (Tue, 05 Feb 2013)

Log Message

Unreviewed Linux ASAN build fix for r141783.

* platform/RefCountedSupplement.h:
(Wrapper):
* platform/Supplementable.h:
(Supplement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (141872 => 141873)


--- trunk/Source/WebCore/ChangeLog	2013-02-05 09:13:47 UTC (rev 141872)
+++ trunk/Source/WebCore/ChangeLog	2013-02-05 09:19:31 UTC (rev 141873)
@@ -1,3 +1,12 @@
+2013-02-05  Hajime Morrita  <morr...@google.com>
+
+        Unreviewed Linux ASAN build fix for r141783.
+
+        * platform/RefCountedSupplement.h:
+        (Wrapper):
+        * platform/Supplementable.h:
+        (Supplement):
+
 2013-02-05  Mike West  <mk...@chromium.org>
 
         [chromium] Unreviewed: Fix broken SVG-disabled build.

Modified: trunk/Source/WebCore/platform/RefCountedSupplement.h (141872 => 141873)


--- trunk/Source/WebCore/platform/RefCountedSupplement.h	2013-02-05 09:13:47 UTC (rev 141872)
+++ trunk/Source/WebCore/platform/RefCountedSupplement.h	2013-02-05 09:19:31 UTC (rev 141873)
@@ -44,7 +44,7 @@
     public:
         explicit Wrapper(PassRefPtr<ThisType> wrapped) : m_wrapped(wrapped) { }
         virtual ~Wrapper() { m_wrapped->hostDestroyed();  }
-#if !ASSERT_DISABLED
+#if !ASSERT_DISABLED || defined(ADDRESS_SANITIZER)
         virtual bool isRefCountedWrapper() const OVERRIDE { return true; }
 #endif
         ThisType* wrapped() const { return m_wrapped.get(); }

Modified: trunk/Source/WebCore/platform/Supplementable.h (141872 => 141873)


--- trunk/Source/WebCore/platform/Supplementable.h	2013-02-05 09:13:47 UTC (rev 141872)
+++ trunk/Source/WebCore/platform/Supplementable.h	2013-02-05 09:19:31 UTC (rev 141873)
@@ -79,7 +79,7 @@
 class Supplement {
 public:
     virtual ~Supplement() { }
-#if !ASSERT_DISABLED
+#if !ASSERT_DISABLED || defined(ADDRESS_SANITIZER)
     virtual bool isRefCountedWrapper() const { return false; }
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to