Decrease the binary size by 50 KB by outlining V8XXX::wrap()

wrap() is called only when we fail to get a wrapper from DOMDataStore. In other words, wrap() is called only when a wrapper is created. This is a slow path, so we don't need to inline the function.

This reduces the binary size of Linux Release from 135279744 byte to 135230832 byte (saving 50 KB).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert r174436 (Reduce the cost of the n^2 loop in collectTreeBoundaryCrossingRules)

https://src.chromium.org/viewvc/blink?view=rev&revision=174436

r174436 was introduced to improve the performance, but
introduced some regressions for shadow styling.

Added a layout test based on the report in issue 383366
to prevent the same regression again.

BUG=383366, 372083
TEST=pass all layout tests.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: convert remaining OwnPtr EventQueue uses.

R=haraken@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Crash test case:
1. Open page with javascript
2. Add breakpoint
3. Stop on breakpoint
4. Use live edit and save script
The test worked for Chromium revision until May 30.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Notify LocalFrame supplements of destruction.

This fixes the flaky crash in screen_orientation/page-visibility.html

The willBeDestroyed callback of GeolocationController has not been called in either build since r175404.

In addition LocalFrame supplements receive an explicit callback when the LocalHost is torn down in order to perform coordinated cleanup. This callback can be removed again once LocalFrame is moved to the heap and it again dies together with its supplements.

R=ager@chromium.org, tkent@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add UseCounter for Document.registerElement()

BUG=383749
TEST=none

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

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