Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/LocalFrame.h |
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h |
| index 2e8d5735469ca7e5e96efa5604dde3135d0a1b97..12a354f9af4a50a89452c4752566e19203df5208 100644 |
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
| @@ -40,6 +40,7 @@ |
| #include "platform/graphics/ImageOrientation.h" |
| #include "platform/heap/Handle.h" |
| #include "platform/scroll/ScrollTypes.h" |
| +#include "public/platform/BlameContext.h" |
| #include "wtf/HashSet.h" |
| namespace blink { |
| @@ -314,6 +315,17 @@ private: |
| Member<LocalFrame> m_frame; |
| }; |
| +class ScopedFrameBlamer { |
|
tkent
2016/06/01 23:14:56
Please add a comment that what this class does con
Xiaocheng
2016/06/02 03:17:19
Done.
|
| + WTF_MAKE_NONCOPYABLE(ScopedFrameBlamer); |
| + STACK_ALLOCATED(); |
| +public: |
| + explicit ScopedFrameBlamer(LocalFrame*); |
|
Sami
2016/06/01 11:05:17
Could the parameter be const?
Xiaocheng
2016/06/02 03:17:19
Yes. Done.
|
| + ~ScopedFrameBlamer(); |
| + |
| +private: |
| + BlameContext* m_frameBlameContext; |
|
tkent
2016/06/01 23:14:56
Is it safe to hold a raw pointer? Can the BlameCon
Xiaocheng
2016/06/02 03:17:19
FrameBlameContext (the BlameContext subclass for f
|
| +}; |
| + |
| } // namespace blink |
| #endif // LocalFrame_h |