Avoid leaking TestWebIDBFactory instances, and reset
the TestWebIDBFactory instance between layout tests.

(The last part depends on a WebKit patch to actually
call ResetTestEnvironment.)

R=jsbell@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179967 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Update revision in DEPS, r10668 -> r10686

This pulls in the following Native Client changes:

r10669: (shcherbina) Validator_ragel: move num_suffixes computation outside of State class.
r10670: (shcherbina) Validator_ragel: minor cleanup of enumeration test.
r10671: (shcherbina) Validator_ragel: move DFA parser from validator test to separate module.
r10672: (shcherbina) Validator_ragel: switch dfacheckdecoder test to generic DFA parser.
r10673: (shcherbina) Validator_ragel: add relative jump targets support to gen_dfa.py.
r10674: (shcherbina) Validator_ragel: REX prefix support in gen_dfa.py.
r10675: (kschimpf) Split up files defining generated actual classes.
r10676: (kschimpf) Improve the handling of nondecimal literals.
r10677: (kschimpf) Fix uses in ARM Table floating_point_data_processing_instructions.
r10678: (kschimpf) Install generated actual decoders for 2 more ARM tables.
r10679: (bradnelson) Switching win8 bots to build newlib instead of glibc.
r10680: (kschimpf) Add uses to instruction decoders in another ARM table.
r10681: (kschimpf) Add testing of generated (ARM) baseline decoders using hand-written decoders.
r10682: (shcherbina) Validator_ragel: print legacy prefixes in gen_dfa.py.
r10683: (mcgrathr) toolchain_build: Update binutils and gcc revisions
r10684: (mseaborn) Style: Fix various cases to use a consistent capitalisation of "NaCl"
r10685: (mcgrathr) Deploy new ARM toolchain
r10686: (petarj) [MIPS] Add thread-pointer to data addressing register list.

BUG=none
TEST=nacl_integration

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179968 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179967
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179969 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179968
SVN changes up to revision 179969
[Android] Remove GTest log_dump (-L) option from run_tests.py.

This option collected logcat output (which is already done elsewhere)
and takes screenshots, which currently fails and has no real use
anyway as unittests don't display anything.

BUG=168889
TEST=build/android/run_tests.py

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179970 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179970
Remove old IDBTransaction* cruft from earlier refactoring

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179971 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179971
History: Retain the timestamps of duplicate visits in the JS model.

When full history sync is enabled, offline deletion (using synced
delete directives) requires that we create a delete directive for
each individual visit to be deleted. In order to do this, we need
to retain the timestamps of duplicate visits.

BUG=171693

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179973 0039d316-1c4b-4281-b951-d872f2087c98
iOS and non iOS use different decoder for SkBitmap to PNG.
Currently:
- Sync sends the favicon PNG data to the history database
- The history database sends a notification (indirectly) to sync that its favicon data has changed.
  In the process of the 'updated data' being sent to sync,
  the PNG data is decoded to ImageSkia and reencoded to PNG.
  Sync receives the reencoded data.

Sync compares byte-for-byte the 'updated data' with the data that it has sent to the database.
If the data from sync was encoded by a different PNG codec than the one used natively, the 'updated data' doesn't match exactly and sync erroneously thinks that it has an update to push to the server.

This CL removes the decode/encode if possible in in FaviconUtil::SelectFaviconFramesFromPNGs to avoid pushing erroneous updates.

BUG=172053, 171465
Test=SingleClientBookmarksSyncTest.SetFaviconHiDPIDifferentCodec

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179974 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix frequent low-res tile flash when using impl-side painting.

The sequence of events that will trigger this problem:

1. Commit complete, we have a new pending tree, UpdateDrawProperties()
and PictureLayerImpl::updateTilePriorities() are called immediately after
commit.

2. Vsync tick, activatePendingTreeIfNeeded() is called and we make
another call to UpdateDrawProperties() for the pending tree.
This second call to UpdateDrawProperties() happens to create a new high
res tiling but PictureLayerImpl::updateTilePriorities() will early out as
frame number as not changed since last call.

3. areVisibleResourcesReady() is called to determine if we can activate
the pending tree. The result is negative as tiles of new high res tiling
have not been initialized.

4. HasPendingWorkScheduled(PENDING_TREE) is called in case the tile
manager has run out of memory and we need to activate the tree
even though all visible tiles are not initialized. This call will in this
case return false as the new tiling has not yet had a chance to update
tile priorities and as far as the tile manager knows there's no work
to be done.

5. As the tile manager is idle the pending tree is activated even though
none of it's high res tiles have been initialized.

Solution:

Move last_source_frame_number_, last_impl_frame_time_ and early
out decision to PictureLayerTiling class.

BUG=173301
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179975 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179974
Rename tab_backend to inspector_backend.

BUG=None
TEST=run_tests
Review URL: https://codereview.chromium.org/12079070

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179977 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179976
Fix disambiguation popup for new-style page scale
    
This patch corrects various coordinate conversion for disambiguation popup
in the new-style page scale mode.
    
WebKit-side change: https://bugs.webkit.org/show_bug.cgi?id=107391

BUG=169916

NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179978 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179978
Move the rest of status resources to cros/status.
 I'll re-work on files used for windows as well when
 we know more about the use of ash on win.

TBR=stevenjb@chromium.org
BUG=170254
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179981 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179981