DevTools: do not show emulation unavailable screen if OverridesView is created before the connection is established.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178310 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Call ResourceError::copy() when passed across threads for thread safety.

BUG=393919

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178311 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix unsigned comparison in previousIfPositionIsAfterLineBreak

Fix unsigned comparison in previousIfPositionIsAfterLineBreak, the unsigned can't be negative so don't test for it.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178312 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add monospace-specific fallback for Hebrew and Arabic from Consolas->Courier New

Potential problems:

- Might break Arabic/Hebrew fallbacks if there are glyphs in Tahoma that aren't in Consolas or Courier New. I used charmap to inspect the unicode ranges that Wikipedia lists under http://en.wikipedia.org/wiki/Hebrew_alphabet and http://en.wikipedia.org/wiki/Arabic_alphabet and I believe Courier New has a full set. So I think this is OK.

- Might be necessary for other scripts too, but I guess we can add more hackery for that if necessary.

- Kind of ugly.

R=eae@chromium.org
BUG=388087

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178313 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash when a node being touched moves to a new document

This is a low-risk fix to restore behavior in this edge-case scenario
to what it was in M35.  See bug 394339 for discussion on what the
behavior really should be in this case.

BUG=393822

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178314 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removing webmediaplayer check in createImageBitmap()

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178315 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Expose the number of elements in the recalcStyle trace macro.

Make it easier to debug recalcStyle traces.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178316 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove never reached area in GeoNotifier

Allowance checking in the runSuccessCallback is useless and annoying.
It is already checked right before calling.

BUG=387656

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178317 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove some special-casing of EventListener

No need to make the bindings use a raw ptr for removeEventListener;
we can just call .get() in the implementation.

Also make the bindings code a bit more generic by not assuming that the
event listener is the second argument.

BUG=383699

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

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