Refactor out the resize event code from post-layout

Eric Seidel pointed out that the performPostLayoutTasks is getting
messy so I refactored out the code for sending the resize event in
a similar faction to how it was done in WebKit:

http://trac.webkit.org/changeset/150011

Review URL: https://chromiumcodereview.appspot.com/22678005

git-svn-id: svn://svn.chromium.org/blink/trunk@156320 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make toV8 return a local handle.

+ Use DOMDataStore::newLocalFromWrapper instead of DOMDataStore::getWrapper
in as many places as possible.

+ Unify the parameter order in DOMWrapperMap.

The performance critical paths already use the setV8ReturnValue functions.

The remaining calls site of DOMDataStore::getWrapper are inside attr getters in
code (see interface.cpp).

BUG=236290

Review URL: https://chromiumcodereview.appspot.com/23266003

git-svn-id: svn://svn.chromium.org/blink/trunk@156321 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the layers watchlist

The layers watchlist was pointing at stale paths. This CL updates them.

R=enne@chromium.org
BUG=None

Review URL: https://chromiumcodereview.appspot.com/22877028

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