[TextAutosizing] Refactoring to eliminate boolean parameter.
https://bugs.webkit.org/show_bug.cgi?id=110490

Patch by Anton Vayvod <avayvod@chromium.org> on 2013-02-22
Reviewed by Julien Chaffraix.

A follow-up to the recent change that introduced a boolean parameter to
processClusterInternal method of TextAutosizer. Boolean parameters are discouraged by the
WebKit style guide. See http://trac.webkit.org/changeset/142866

Refactoring so no new tests.

* rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::clusterMultiplier):

        Calculates the font size multiplier for the specified cluster.

(WebCore::TextAutosizer::processClusterInternal):

        Accepts the font size multiplier instead of |shouldBeAutosized|.

(WebCore::TextAutosizer::processCluster):
(WebCore::TextAutosizer::processCompositeCluster):

        Both methods above now calculate the multiplier and then pass it to
        processClusterInternal.

* rendering/TextAutosizer.h:

        Updated method declarations.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Build fix after r143637.

* WebCore.exp.in: Unconditionally export ScriptController::javaScriptContext.
* bindings/js/ScriptController.h: Unconditionally define javaScriptContext for Mac builds.
* bindings/js/ScriptControllerMac.mm:
(WebCore::ScriptController::javaScriptContext): Move the #if inside the function, and return 0 when false.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143750 268f45cc-cd09-0410-ab3c-d52691b4dbfc