| Index: third_party/WebKit/public/platform/WebProcessMemoryDump.h
|
| diff --git a/third_party/WebKit/public/platform/WebProcessMemoryDump.h b/third_party/WebKit/public/platform/WebProcessMemoryDump.h
|
| index 27c6e1abbcc4b6aebd74c29d48021748a3a85b1c..cbe3bd8e980083de8f89eb8f979dbcc82dbd2181 100644
|
| --- a/third_party/WebKit/public/platform/WebProcessMemoryDump.h
|
| +++ b/third_party/WebKit/public/platform/WebProcessMemoryDump.h
|
| @@ -8,6 +8,7 @@
|
| #include "WebCommon.h"
|
| #include "WebMemoryAllocatorDump.h"
|
| #include "WebString.h"
|
| +#include "third_party/skia/include/core/SkTraceMemoryDump.h"
|
|
|
| namespace blink {
|
|
|
| @@ -77,6 +78,18 @@ public:
|
| {
|
| BLINK_ASSERT_NOT_REACHED();
|
| }
|
| +
|
| + // Returns the SkTraceMemoryDump object for the skia context. This is
|
| + // useful when dumping stats about skia objects used. The created dumper
|
| + // is owned by WebProcessMemoryDump. |dumpNamePrefix| is prefix appended
|
| + // to each dump created by the SkTraceMemoryDump implementation, if the
|
| + // dump should be placed under different category
|
| + // and not "skia".
|
| + virtual SkTraceMemoryDump* CreateSkiaTraceMemoryDump(const WebString& dumpNamePrefix)
|
| + {
|
| + BLINK_ASSERT_NOT_REACHED();
|
| + return nullptr;
|
| + }
|
| };
|
|
|
| } // namespace blink
|
|
|