Index: third_party/WebKit/public/platform/WebViewScheduler.h |
diff --git a/third_party/WebKit/public/platform/WebViewScheduler.h b/third_party/WebKit/public/platform/WebViewScheduler.h |
index bee6dce80a8e2a3466e21bf534280b8727aafeed..a3693f6af743d1bc447ae936d5a107bce1411e80 100644 |
--- a/third_party/WebKit/public/platform/WebViewScheduler.h |
+++ b/third_party/WebKit/public/platform/WebViewScheduler.h |
@@ -6,6 +6,7 @@ |
#define WebViewScheduler_h |
#include "WebCommon.h" |
+#include "public/platform/BlameContext.h" |
#include "public/platform/WebPassOwnPtr.h" |
namespace blink { |
@@ -19,8 +20,10 @@ public: |
// The scheduler may throttle tasks associated with background pages. |
virtual void setPageVisible(bool) = 0; |
- // Creaters a new WebFrameScheduler, the caller is responsible for deleting it. |
- virtual WebPassOwnPtr<WebFrameScheduler> createFrameScheduler() = 0; |
+ // Creates a new WebFrameScheduler. The caller is responsible for deleting |
+ // it. All tasks executed by the frame scheduler will be attributed to |
+ // |BlameContext|. |
+ virtual WebPassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0; |
// Instructs this WebViewScheduler to use virtual time. When virtual time is enabled |
// the system doesn't actually sleep for the delays between tasks before executing |