Move HTML parser to Chromium threading

This CL converts the threaded HTML parser over to using a Chromium thread
rather than a WTF thread. Letting Chromium manage the thread lets us better
intergrate with the rest of Chromium.

Review URL: https://chromiumcodereview.appspot.com/15230004

git-svn-id: svn://svn.chromium.org/blink/trunk@150531 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/third_party/WebKit/Source/wtf/Functional.h b/third_party/WebKit/Source/wtf/Functional.h
index a2fc1586..0f74a1b 100644
--- a/third_party/WebKit/Source/wtf/Functional.h
+++ b/third_party/WebKit/Source/wtf/Functional.h
@@ -774,9 +774,12 @@
     return Function<typename FunctionWrapper<FunctionType>::ResultType ()>(adoptRef(new BoundFunctionImpl<FunctionWrapper<FunctionType>, typename FunctionWrapper<FunctionType>::ResultType (A1, A2, A3, A4, A5, A6)>(FunctionWrapper<FunctionType>(function), a1, a2, a3, a4, a5, a6)));
 }
 
+typedef Function<void()> Closure;
+
 }
 
 using WTF::Function;
 using WTF::bind;
+using WTF::Closure;
 
 #endif // WTF_Functional_h