Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / WebTaskRunner.cpp
blob435a90c8756e5d32253ca9947cc95f9c6dcf0533
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "config.h"
6 #include "public/platform/WebTaskRunner.h"
8 #include "platform/Task.h"
10 namespace blink {
12 void WebTaskRunner::postTask(const WebTraceLocation& location, PassOwnPtr<ClosureTask> task)
14 postTask(location, new blink::Task(task));
17 void WebTaskRunner::postDelayedTask(const WebTraceLocation& location, PassOwnPtr <ClosureTask> task, long long delayMs)
19 postDelayedTask(location, new blink::Task(task), delayMs);
22 void WebTaskRunner::postDelayedTask(const WebTraceLocation& location, PassOwnPtr <ClosureTask> task, double delayMs)
24 postDelayedTask(location, new blink::Task(task), delayMs);
27 } // namespace blink