Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index 0ecf774dba8e9e6d869e836dbefa46142871f22a..424482ceeeae992722367f92fc059b509ee26317 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -35,6 +35,7 @@ |
#include <windows.h> |
#endif |
+#include "BlameContext.h" |
#include "UserMetricsAction.h" |
#include "WebAudioDevice.h" |
#include "WebCommon.h" |
@@ -354,6 +355,9 @@ public: |
// embedder. |
virtual WebThread* currentThread() { return nullptr; } |
+ // Returns a blame context for attributing work to the thread-global scope. |
+ virtual BlameContext* threadBlameContext() { return nullptr; } |
+ |
// Resources ----------------------------------------------------------- |
// Returns a blob of data corresponding to the named resource. |