Phantom(GetLocal) should be treated as relevant to OSR
https://bugs.webkit.org/show_bug.cgi?id=106715

Reviewed by Mark Hahnenberg.

Source/JavaScriptCore: 

* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::performBlockCSE):

LayoutTests: 

* fast/js/dfg-phantom-get-local-expected.txt: Added.
* fast/js/dfg-phantom-get-local.html: Added.
* fast/js/jsc-test-list:
* fast/js/script-tests/dfg-phantom-get-local.js: Added.
(foo):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
No need to initialize RefPtrs to 0 in ElementRareData
https://bugs.webkit.org/show_bug.cgi?id=106717

Reviewed by Ryosuke Niwa.

RefPtrs initialize themself to null, so there's no reason
to do it manually. This was code leftover from when
PseudoElements were stored in bare ptrs instead of in
RefPtrs.

No new tests, just refactoring.

* dom/ElementRareData.h:
(WebCore::ElementRareData::ElementRareData):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Focus zoom animation doesn't occur on devices with physical keyboard
https://bugs.webkit.org/show_bug.cgi?id=106719

Patch by Andrew Lo <anlo@rim.com> on 2013-01-11
Reviewed by Yong Li.
Internally reviewed by Mike Fenton.

Internal PR 278687

Always ensureFocusTextElementVisible if an element is focused when
the device has a physical keyboard.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::setElementFocused):

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