Move WebPopupMenuImpl::initialize m_client check

This should be checked in case the page is closed before it's created.

TBR=jbauman@chromium.org

Review URL: https://codereview.chromium.org/301183007

git-svn-id: svn://svn.chromium.org/blink/trunk@175310 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not change pageshow event behavior though it does not follow spec

As per spec step of history traversal algorithm (section 7.6.10): subsection 4.6 of 
http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#traverse-the-history 
browser should queue a task to fire pageshow event. However chrome and other desktop browsers 
firefox30 and IE11) dispatches the event sync right after onload is triggered. 
Specification change requested for the same so just update the same in comments comments. 

BUG=378946

Review URL: https://codereview.chromium.org/294663007

git-svn-id: svn://svn.chromium.org/blink/trunk@175311 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Set accumulatingTransform based on preserves3D value.

When RenderGeometryMap is pushing nodes into the list it is, currently, always
setting the accumulatingTransform value to true. This means we will always
accumulate the transform and never flatten.

This is different from the case where we use mapLocalToContainer which will set
the equivalent of accumulatingTransform based on the preserves3D value (as seen in
RenderBox::mapLocalToContainer).

This CL updates RenderGeometryMap to use preserves3D to determine if we need
to accumlate or flatten the transform.

BUG=371640

Review URL: https://codereview.chromium.org/304323008

git-svn-id: svn://svn.chromium.org/blink/trunk@175312 bbb929c8-8fbe-4397-9dbb-9b2b20218538