WebKitTestRunner needs to activate the Mac font ascent hack
authorjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 22:56:17 +0000 (22:56 +0000)
committerjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 22:56:17 +0000 (22:56 +0000)
commit356c9f1a9d97fa4153a7bc36d80fd604489e484e
tree6411300555fa4beed1d508e4f80443ca4281bfc4
parent16dd5e77e0e44cccfa3ed01b57e05f186bf574b4
WebKitTestRunner needs to activate the Mac font ascent hack
https://bugs.webkit.org/show_bug.cgi?id=43404

Reviewed by Darin Adler.

WebKit2:

* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleActivateMacFontAscentHack):
Get the InjectedBundle, and calls its activateMacFontAscentHack().

* WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
Declare WKBundleActivateMacFontAscentHack().

* WebProcess/InjectedBundle/InjectedBundle.h:
Declare activateMacFontAscentHack().

* WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
(WebKit::InjectedBundle::activateMacFontAscentHack):
Stubbed.

* WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp:
(WebKit::InjectedBundle::activateMacFontAscentHack):
Stubbed.

* WebProcess/InjectedBundle/win/InjectedBundleWin.cpp:
(WebKit::InjectedBundle::activateMacFontAscentHack):
Activate the ascent hack.

WebKitTools:

* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::initialize):
Call WKBundleActivateMacFontAscentHack().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp
WebKit2/WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp
WebKit2/WebProcess/InjectedBundle/win/InjectedBundleWin.cpp
WebKitTools/ChangeLog
WebKitTools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp