Fix undefined variable in Week constructor for calendar picker
https://bugs.webkit.org/show_bug.cgi?id=101734

Reviewed by Kent Tamura.

Closer compiler found an undefined variable in the Week constructor.

No new tests. This code isn't used.

* Resources/pagepopups/calendarPicker.js:
(Week): Used wrong variable name.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Refactor TestExpectations file
https://bugs.webkit.org/show_bug.cgi?id=101738

Unreviewed, EFL gardening.

Remove duplicated definitions.

Patch by Kangil Han <kangil.han@samsung.com> on 2012-11-09

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Coordinated Graphics: Remove a backing store of GraphicsLayer when the layer is far from the viewport.
https://bugs.webkit.org/show_bug.cgi?id=101656

Patch by Huang Dongsung <luxtella@company100.net> on 2012-11-09
Reviewed by Kenneth Rohde Christiansen.

TiledBackingStore computes cover and keep rects to create, keep or remove tiles
smartly, but currently TiledBackingStore expects a contents rect is big enough
to cover the visibleRect. However, when CoordinatedGraphicsLayer uses TBS, it
is usually wrong expectation.

We must compute cover and keep rects using the visibleRect, instead of
the rect intersecting the visibleRect with m_rect, because TBS can be
used as a backing store of GraphicsLayer and the visible rect usually
does not intersect with m_rect.
In the below case, the intersecting rect is an empty.

 +---------------+
 |               |
 |   m_rect      |
 |       +-------|-----------------------+
 |       | HERE  |  cover or keep        |
 +---------------+      rect             |
         |         +---------+           |
         |         | visible |           |
         |         |  rect   |           |
         |         +---------+           |
         |                               |
         |                               |
         +-------------------------------+

We must create or keep the tiles in the HERE region. Currently in the
case, we do not create or keep tiles on the HERE region. Moreover, in
the case, we early return, which means we don't remove any tiles. It
causes to waste heap and video memory.

This patch changes TiledBackingStore to manage tiles smartly for
Coordinated Graphics.

Changing cache policy is not testable in layout tests.

* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::visibleRect):
(WebCore::TiledBackingStore::visibleAreaIsCovered):
(WebCore::TiledBackingStore::createTiles):
(WebCore::TiledBackingStore::adjustForContentsRect):
(WebCore::TiledBackingStore::removeAllNonVisibleTiles):
* platform/graphics/TiledBackingStore.h:
(TiledBackingStore):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2][AC] Random crashes in layout tests on the bot
https://bugs.webkit.org/show_bug.cgi?id=101687

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-11-09
Reviewed by Kenneth Rohde Christiansen.

Speculative fix for a crash on the bot.
If didCommitLoad() is called before the view size was set, we will
try to paint an empty area, and that will crash.

* UIProcess/API/efl/EwkViewImpl.cpp:
(EwkViewImpl::update):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix annotations in page popup files
https://bugs.webkit.org/show_bug.cgi?id=101736

Reviewed by Kent Tamura.

Add @constructor where needed. Replacing /* with /** for annotations.

No new tests. No behavior change.

* Resources/pagepopups/calendarPicker.js:
* Resources/pagepopups/pickerCommon.js:
* Resources/pagepopups/suggestionPicker.js:


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