Use plus/minus 0.5 instead of 1 when calculating zoomed length.

Plus/minus 0.5 to the truncated value is more reasonable than
directly adding 1, because 0.5 is the average of the fraction
value.

This patch fixes Acid3 test 99/100 when zoom is 125%, and also
improves overall image zooming.

This patch requires a content shell change to set zoom factor
in script (CL 253493006).

BUG=360713

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused GraphicsContext::drawEllipse()

Also update the GC unit test with explicit {fill|stroke}Ellipse calls to
preserve current test semantics.

R=senorblanco@chromium.org,schenney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172978 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Clean up text autosizing.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172979 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed unused firstNew parameter for appendAuthorStyleSheets.

lazyAppendAuthorStyleSheets seems to handle cumulative addition of
stylesheets now.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark HTMLMediaElement/MediaController.duration as unrestricted double

This does not change the generated code, it is only to match the spec:
http://whatwg.org/html#htmlmediaelement
http://whatwg.org/html#mediacontroller

BUG=354298

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172981 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remove rudimentary code from RuntimeModel

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172982 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Network Panel: add method and status code filters.

BUG=133733

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172983 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[4/4] Process clearBrowserCahce/cookies commands in browser.

BUG=366585

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172984 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove [PerWorldBindings] IDL attribute from non wrapper type attributes

Remove [PerWorldBindings] IDL attribute from non wrapper type attributes.
The 2 generated code paths are identical for non wrapper types (e.g.
DOMString) so there should be no performance benefit to having a separate
code path for the main world.

This reduces the release binary size by ~18Kb. I did not see any
regression on the Bindings performance tests locally.

This CL does not change attributes of non-wrapper type that use
[LogActivity=xxx] extended attribute because this would cause a behavior
change. This is sad though because those account for a much greater
binary size (~100 Kb in release).

This CL also adds an assertion to the bindings generator so that folks
stop doing this unintentionally.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172986 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a crash in AXObject::accessibilityIsIgnored() by adding NULL check on axObjectCache().

BUG=368592
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172987 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make CanvasGradient.addColorStop throw TypeError for non-finite offsets

This aligns with the spec and Gecko.

BUG=367648

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172988 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adding myself to the OWNERS file for WTF

I've been regularily contributing to WTF for about 1 year already - basically
from the Blink birth - and I'm one of the most active contributors there (around 80 commits in wtf/ folder, mostly to smart pointers and containers classes).

Recent WTF contributions
https://codereview.chromium.org/253753004/ MessageQueue uses Deque<OwnPtr<> >
https://codereview.chromium.org/252633005/ Enable WTF::HashSet<OwnPtr<> >
https://codereview.chromium.org/249363002/ Use macros instead of specializing VectorTraits explicitly
https://codereview.chromium.org/240213009/ Introduce a macro enabling 'SimpleClassVectorTraits'

The list of all my WTF contributions
http://svnsearch.org/svnsearch/repos/BLINK/search?from=20130402&path=%2Ftrunk%2FSource%2Fwtf&author=mikhail.pozdnyakov%40intel.com

Reviewing of WTF patches
https://codereview.chromium.org/256743005/ Add removeAll method.
https://codereview.chromium.org/228403002/ Prevent buggy use of swap and operator= on vectors
https://codereview.chromium.org/223373002/ Add LinkedHashSet collection
https://codereview.chromium.org/219413002/ Check for concurrent modification

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172989 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap.

R=ager@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172990 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of isActiveFocus() is a more meaningful name (https://codereview.chromium.org/260353003/)

Reason for revert:
Clearly there's opposition to this naming, best to revert while we discuss.

Original issue's description:
> isActiveFocus() is a more meaningful name
> 
> Previously the function was named isActive() which
> didn't lay emphasis on the behavior and purpose of
> the function. There was a FIXME to rename the
> function to isActiveFocus().
> 
> Patch for doing the same.
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172911

TBR=jochen@chromium.org,jamesr@chromium.org,pdr@chromium.org,abarth@chromium.org,eseidel@chromium.org,suyash.s@samsung.com
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172991 bbb929c8-8fbe-4397-9dbb-9b2b20218538
A thread safe CSS calc parser for sizes

The sizes attribute parsing requires calc() parsing and evaluation.
This CL adds a thread safe calc parser (for unsigned length values).

BUG=357586

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

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

R=ager@chromium.org, haraken@chromium.org, mikhail.pozdnyakov@intel.com, wibling@chromium.org, zerny@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172993 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark existing Skia suppressions for rebaseline.

BUG=344497,356644,365698
TBR=caryclark@google.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172994 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add devtools trace events for Timeline Program notification

BUG=361045

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

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