Index: Source/core/frame/SmartClip.h |
diff --git a/Source/core/frame/SmartClip.h b/Source/core/frame/SmartClip.h |
index 4a6ac163de5b41789be87b18dc644f0c3d6c0307..34f8f9f3964962bf6562d65b35e0ac6442a0e8f4 100644 |
--- a/Source/core/frame/SmartClip.h |
+++ b/Source/core/frame/SmartClip.h |
@@ -33,6 +33,7 @@ |
#include "core/dom/Node.h" |
#include "core/frame/LocalFrame.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -65,8 +66,9 @@ private: |
// trying to do a poor-mans implementation of columnar |
// selection followed by a copy operation. |
class SmartClip { |
+ STACK_ALLOCATED(); |
public: |
- explicit SmartClip(PassRefPtr<LocalFrame>); |
+ explicit SmartClip(PassRefPtrWillBeRawPtr<LocalFrame>); |
SmartClipData dataForRect(const IntRect&); |
@@ -80,7 +82,7 @@ private: |
IntRect convertRectToWindow(const IntRect& nodeRect); |
String extractTextFromNode(Node*); |
- RefPtr<LocalFrame> m_frame; |
+ RefPtrWillBeMember<LocalFrame> m_frame; |
}; |
} // namespace blink |