cc: Refactor RasterTask::Queue to avoid unnecessary heap allocations.

Add *count(), Reset() and Swap methods to the Queue class. This
makes it possible to reuse the queue instead of allocating and
growing a new queue each time.

This includes a new RasterTaskQueueIterator class that replaces
an awkward system where derived RasterWorkerPool classes had to
call SetRasterTasks() before they could access the tasks using
raster_tasks(). Derived classes can now manage the ownership
of the queue and use RasterTaskQueueIterator to access tasks
and associated scheduling properties.

BUG=246546

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250401 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250401
Build app_list_unittests as part of chromium_builder_tests on linux.

Should fix problems like http://build.chromium.org/p/tryserver.chromium/builders/linux_rel/builds/227387

BUG=none
TBR=erg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250402 0039d316-1c4b-4281-b951-d872f2087c98
Add configuration code for the GC types and transition types.

The interpretation of transition types is governed by the plugin flag: oilpan-enabled.
This change also adds blink_gc_plugin to the default chrome tools in update.sh.

BUG=334149

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250403 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250402
Map delegated software bitmaps only when they're about to be read from.

If frames are delegated from one renderer through another into the browser, the intermediate renderer may not be able to map the shared memory bitmaps. However, it also won't need to read from the bitmaps, so the resource provider only needs to map the bitmaps when trying to read from them.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250404 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250404
Make the reference to BrowserPluginGuest* from RWHVGuest weak.
The reasoning is that RenderWidgetHostViewGuest doesn't own BrowserPluginGuest.

This is a speculative fix for crash http://crbug.com/342274.


BUG=342274
Test=None, this is an internal change to hope removing use-after-free bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250405 0039d316-1c4b-4281-b951-d872f2087c98
Plumbs through mime type Loader::Delegate

Will use in a subsequent cl.

BUG=none
TEST=none
R=viettrungluu@chromium.org

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

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