Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp |
index eb0103e2757d7844650f48759053d236d618cc45..aa9ad67cecf3af825ddbac4c739b637004004b43 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp |
@@ -30,6 +30,7 @@ |
#include "config.h" |
#include "core/editing/markers/DocumentMarker.h" |
+#include "wtf/LeakAnnotations.h" |
namespace blink { |
@@ -84,6 +85,7 @@ private: |
PassRefPtrWillBeRawPtr<DocumentMarkerTextMatch> DocumentMarkerTextMatch::create(bool match) |
{ |
+ WTF_ANNOTATE_SCOPED_MEMORY_LEAK; |
DEFINE_STATIC_REF_WILL_BE_PERSISTENT(DocumentMarkerTextMatch, trueInstance, (adoptRefWillBeNoop(new DocumentMarkerTextMatch(true)))); |
DEFINE_STATIC_REF_WILL_BE_PERSISTENT(DocumentMarkerTextMatch, falseInstance, (adoptRefWillBeNoop(new DocumentMarkerTextMatch(false)))); |
return match ? trueInstance : falseInstance; |