Fix for surfaceless implementation

- The image format used wasn't supported with the memory buffer framework
- The glClear on the init path causes an INVALID_FRAMEBUFFER_OPERATION error
  when executed with no framebuffer, as in the surfaceless case

BUG=380861

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

Cr-Commit-Position: refs/heads/master@{#297003}
Remove implicit HANDLE conversions from win8.

BUG=416722
R=ananta@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297004}
Disable TwoGetUserMediaWithFirstHdSecondVga on Windows and on Linux debug.

BUG=417756
TEST=Bots go green
TBR=phoglund@chromium.org
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#297005}
Refactored bisect results dicts into a separate class

R=qyearsley@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297006}
Speculative fix when translating blob data to a file path

Accoding to the stack on crbug.com/410602, BlobData can be null.
However, I am not able to reproduce the bug with any test cases.
So this is just a safe speculative fix.

BUG=410602

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

Cr-Commit-Position: refs/heads/master@{#297007}
Remove incorrect promise resolving type handling.

This partially reverts commit fd0069d61b1f3281a2634bf907a96bebee7fb396.

Issue 408330 has been fixed with a CDM update. This error handling code is not
needed anymore.

TBR=dmichael@chromium.org
BUG=408337

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

Cr-Commit-Position: refs/heads/master@{#297008}
[Password Manager] Widen autofill supression for testing password sites.

These sites sometimes contain "-" in addition to alpha characters.

TBR=vabr@chromium.org
BUG=415166

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

Cr-Commit-Position: refs/heads/master@{#297009}
Revert "Prevent updateOpenCommand() from receiving e.target of type other than BookmarkList|BookmarkTree"

This reverts commit 0106c710b9478ae679274e90be3fbce3623632c2.

BUG=417982
TBR=arv@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297010}
IPC: Use ScopedHandle instead of a raw HANDLE for the private members.

BUG=387876
R=cpu@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297011}
Optimize ash resources

Optimized 12/146 files in 00:23:28s
Result: 19576 => 18810 bytes (766 bytes: 3%)

BUG=418208
TBR=msw@chromium.org
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#297012}
Check that extensions::HidDeviceManager is used from the FILE thread.

Commit 7fb8b9950 attempted to enable an unused thread check in
extensions::HidDeviceManager but this was not correct because while this
class is normally used from the FILE thread this is not where it is
created (issue 417939). This change adopts the pattern used in
extensions::ApiResourceManager where the BrowserContextKeyedAPI
implements its own thread assertions.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#297013}
NaCl: Update revision in DEPS, r13785 -> r13797

This pulls in the following Native Client changes:

r13786: (mseaborn) Scons: Add a sanity check to ensure that nonsfi_nacl=1 is used with bitcode=1
r13787: (shyamsundarr) fix verify_regular_instructions test.
r13788: (mseaborn) untrusted.gypi: Factor out duplicated "-t" option
r13789: (mseaborn) Cleanup: Remove src/trusted/gio/, since it is unused
r13790: (dyen) Added tests for pthread conditions using irt_ext.
r13791: (pkasting) Make native_client BUILD.gn more closely match the main Chromium one.
r13792: (mseaborn) Cleanup: Update comment about unnecessary copying during IRT loading
r13793: (mseaborn) Cleanup: Remove some unused code from src/shared/gio/
r13794: (mseaborn) Cleanup: Remove src/trusted/generic_container/, which is unused
r13795: (yyanagisawa) Won't try to use goma if GOMA_DISABLED=true.
r13796: (dyen) Added tests for semaphores using irt_ext.
r13797: (uekawa) NonSFI Mode:  Make hello_world test run with nonsfi_nacl=1 bitcode=1 pnacl_generate_pexe=0.

BUG=none
TEST=browser_tests and nacl_integration
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32,linux_nacl_sdk,linux_chromium_dbg
TBR=dschuff@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297014}
[Autofill Clean up] Revert changes introduced by Autocheckout to autofill
disabled and readonly fields. Autocheckout is deprecated.

R=isherman@chromium.org
BUG=231160

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

Cr-Commit-Position: refs/heads/master@{#297015}
styleguide: Move Rvalue References to the Blacklist with Exceptions.

The discussion around Rvalue references has been that we should ban
their use for now, but come back to it later. So that is what this
does.

One exceptional case that was agreed upon without dissent was to allow
move semantics in scoped_ptr to allow use of scoped_ptr cleaner
throughout the codebase, without leaking the requirement to understand
Rvalue references outside of the scoped_ptr implementation.

R=jamesr@chromium.org, thakis@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297016}
Add a temporary variable to store ANGLE gyp file.

This will allow us to correctly transition to the new angle.gypi
from the old build_angle.gypi.

BUG=415893

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

Cr-Commit-Position: refs/heads/master@{#297017}
Compile third_party/jstemplate/ with Closure Compiler

R=arv@chromium.org
BUG=393873
TEST=GYP_GENERATORS=ninja gyp --depth .  third_party/jstemplate/compiled_resources.gyp && ninja -C out/Default

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

Cr-Commit-Position: refs/heads/master@{#297018}
Setting AudioConfiguration and deleting DeviceCapabilities hacks

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

Cr-Commit-Position: refs/heads/master@{#297019}
Autofill browser_tests: set autofilled property after autofilled value is set.

R=isherman@chromium.org
BUG=412311

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

Cr-Commit-Position: refs/heads/master@{#297020}
Add python-crypto and python-openssl for rietveld uploads to work w/ oauth.

In order for us to support OAuth-authenticated access to Rietveld, we
need to be able to generate signed authorization requests in the Rietveld
upload scripts. That requires us to have either the python OpenSSL wrappers
plus OpenSSL itself installed, or to use the python pyCrypto library.

Currently the bots use python-openssl, but don't work on Windows as a result.
We add the python-openssl wrapper to be consistent, but want to switch
to pycrypto, so once we have all the bots using pycrypto, we can drop
python-openssl from the list.

R=thestig@chromium.org
BUG=371620, 375971
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#297021}
Revert of Pending tasks in a message loop should be deleted before shutting down Blink (patchset #7 id:120001 of https://codereview.chromium.org/583043005/)

Reason for revert:
Speculative revert. Likely cause of crbug.com/418206

Original issue's description:
> Pending tasks in a message loop should be deleted before shutting down Blink
>
> Currently Blink is shut down before all the pending tasks in the message loop are deleted. This is problematic in Oilpan because a destructor of the pending tasks can touch Oilpan objects. Because Oilpan is already detached from the renderer thread at that point, touching Oilpan objects in the destructor leads to a crash. (See the bug report for a concrete scenario.)
>
> To prevent Blink objects from getting accessed after Blink is shut down, this CL deletes all pending tasks in a message loop before shutting down Blink.
>
> BUG=411026
> TEST=None. I cannot reproduce the crash.
>
> Committed: https://crrev.com/fdd5612c20f777e1279efd7c1e99d82ed04afaaf
> Cr-Commit-Position: refs/heads/master@{#296697}

TBR=tkent@chromium.org,jochen@chromium.org,jamesr@chromium.org,ager@chromium.org,jar@chromium.org,haraken@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=411026

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

Cr-Commit-Position: refs/heads/master@{#297022}