~oxide-developers/oxide/+git/chromium:oxide/1.15

Last commit made on 2016-06-17
Get this branch:
git clone -b oxide/1.15 https://git.launchpad.net/~oxide-developers/oxide/+git/chromium
Members of Oxide Developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
oxide/1.15
Repository:
lp:~oxide-developers/oxide/+git/chromium

Recent commits

874a2bb... by Chris Coulson

Merge upstream 51.0.2704.103 in to oxide/1.15

c4febd5... by chrome-cron <email address hidden>

Publish DEPS for Chromium 51.0.2704.103

aa7c8d2... by chrome-cron <email address hidden>

Incrementing VERSION to 51.0.2704.103

Cr-Commit-Position: refs/branch-heads/2704@{#723}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

7de5e91... by Yuki Shiino <email address hidden>

binding: Fixes the fallback mechanism of Document's named properties.

The old implementation only works for
a) there is a hidden prototype, and documentWrapper->GetPrototype()
  actually returns itself, or
b) fallbacked attributes are data-type properties.

Since we made attributes be accessor-type properties _and_ removed
the hidden prototype, the old implementation no longer works.

Fixed the issue using V8's GetRealNamedPropertyInPrototypeChain().

BUG=619036

Review-Url: https://codereview.chromium.org/2065523002
Cr-Commit-Position: refs/heads/master@{#399461}
(cherry picked from commit cccf8630bac25057f6afd30febf8c428cd486b8c)

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

Cr-Commit-Position: refs/branch-heads/2704@{#722}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

354e3ac... by Sigbjorn Finne <email address hidden>

Lock CrossThreadPersistentRegion until end of weak processing.

Allocating & releasing a CrossThread(Weak)Persistent is something that
all threads are currently allowed, even those not attached to Oilpan and
having no heap of their own. It is however not safe for the set of
CrossThreadPersistents to be altered while a garbage collection is
underway.

Not just while the set of registered persistents are being marked and
traced, but up until and including the processing of weak (persistent)
references that happen after marking. If not, a thread would be able to
release a CrossThreadWeakPersistent node which the weak processing separately
maintains a pointer to, clearing & freeing its allocation. Which would
cause havoc, hence we impose a lock on CrossThreadPersistentRegion while
the marking and global weak processing is being performed -- any thread
attempting to create or free cross-thread persistents will be locked out
for the duration.

Following r396432, the use of CrossThreadPersistents from non-attached threads
has been reduced greatly and is slight.

R=
BUG=610477

Review-Url: https://codereview.chromium.org/2013173002
Cr-Commit-Position: refs/heads/master@{#396540}
(cherry picked from commit 174054b089b91ea41c4baa09bcc7b6762fe42005)

Conflicts:
 third_party/WebKit/Source/platform/heap/Heap.cpp
 third_party/WebKit/Source/platform/heap/PersistentNode.h

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

Cr-Commit-Position: refs/branch-heads/2704@{#721}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

da0e944... by Sigbjorn Finne <email address hidden>

Move MainThreadTaskRunner off Oilpan heap to simplify posting.

Having the Document's MainThreadTaskRunner on the Oilpan heap
is preferable for three reasons:

 - Correctly accounts for the MainThreadTaskRunner::m_context
   back reference, by having it be traced Member<>.
 - The MainThreadTaskRunner must not perform tasks when
   it (and the Document) is in the process of being swept.
   By having the posted tasks keep a weak persistent reference
   to MainThreadTaskRunner, the Oilpan GC will ensure that
   the weak references will be cleared once MainThreadTaskRunner
   has been deemed garbage.
 - Similarly for the timer-initiated running of a
   MainThreadTaskRunner's pending tasks. The Timer<> abstraction
   takes care of not firing a timer if its owner is an
   Oilpan heap object that's about to be swept.

But it is not without downsides:

 - A CrossThreadWeakPersistent<> has to be created for every
   task closure posted to the main thread, and copying that
   persistent reference around while creating the closure,
   something that is not without overhead.
 - Threads not attached to Oilpan needing to post tasks to
   the main thread will have to create these persistents also.
   Having that happen when a GC is in progress is hard to support,
   as it risks introducing and removing persistent heap references
   in ways that interfere with the GC processing the heap.

The latter point is sufficient reason not to require the
allocation of CrossThreadWeakPersistent<>s when posting main
thread tasks, hence MainThreadTaskRunner is moved off the
Oilpan heap. By doing so, the benefits above that the Oilpan GC
infrastructure provided "for free" have to be taken care of
manually. C'est la vie.

R=
BUG=610477

Review-Url: https://codereview.chromium.org/1938313003
Cr-Commit-Position: refs/heads/master@{#396432}
(cherry picked from commit 93ddd5fff7fbe018efc1df2be3fe907103314422)

Conflicts:
 third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
 third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h
 third_party/WebKit/Source/core/dom/MainThreadTaskRunnerTest.cpp

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

Cr-Commit-Position: refs/branch-heads/2704@{#720}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

5bbce83... by Eric Roman <email address hidden>

Set FLAGS_shift_quic_cubic_epoch_when_app_limited to false.

<email address hidden>
BUG=618144

Review-Url: https://codereview.chromium.org/2050533002
Cr-Commit-Position: refs/heads/master@{#398441}
(cherry picked from commit a7932f6f652d7a985d9bec588edf6349cf533d23)

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

Cr-Commit-Position: refs/branch-heads/2704@{#719}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

1a0190a... by chrome-cron <email address hidden>

Incrementing VERSION to 51.0.2704.102

Cr-Commit-Position: refs/branch-heads/2704@{#718}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

81c6419... by Anantanarayanan G Iyengar <email address hidden>

Removing the check for SM_TABLETPC for determining whether a device is operating as a tablet.

Merging to M51

That appears to always return false on Windows 10 regardless of what mode the device is in
(tablet mode) or desktop mode without a keyboard.

This should fix the issues folks are reporting with the keyboard not popping up when
we detach a keyboard with tablet mode off.

BUG=497381

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

Cr-Commit-Position: refs/heads/master@{#386700}
(cherry picked from commit 10b82fbb3ecde7460928ba2cc18664eb8f42865c)

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

Cr-Commit-Position: refs/branch-heads/2704@{#717}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

46829e2... by "<email address hidden>" <email address hidden>

Guard against invalid glyph shaping results

HarfBuzz can fail to shape all glyphs and will return a shape result
shorter than the text length along with debug warnings:
[ERROR:HarfBuzzShaper.cpp(375)] HarfBuzz returned empty glyph buffer after shaping.
[ERROR:HarfBuzzShaper.cpp(672)] Shape result extraction failed.

This patch fixes an SVG crash on the U+180E Mongolian vowel separator
by ensuring CachingWordShaper::individualCharacterRanges returns a
vector as long as the text run length. A DCHECK and test have been added
to protect against this crash in the future.

BUG=613915

Review-Url: https://codereview.chromium.org/2020863002
Cr-Commit-Position: refs/heads/master@{#396668}
(cherry picked from commit 433ceaeabee98073e81d552dee947aa6983efd53)

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

Cr-Commit-Position: refs/branch-heads/2704@{#716}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}