- 19 Mar, 2014 40 commits
-
-
enne@chromium.org authored
This test is testing some paint-dependent behavior (see issue 353827) and should behave identically whether or not testRunner.display() is called. However, without the testRunner.display() calling into paint, it misses some invalidations that need to be there for correctness. BUG=345027,353827 Review URL: https://codereview.chromium.org/197883025 git-svn-id: svn://svn.chromium.org/blink/trunk@169575 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
This patch cleans up InspectorStyleSheet after the InspectorStyleSheet and InspectorStyleSheetForInlineStyle implementations were separated. It does the following changes: - remove InspectorStyleSheet.checkPageStyleSheet as it is never used - inline InspectorStyleSheet.ruleIndexByRule - inline method InspectorStyleSheet.ruleIdByStyle into InspectorStyleSheet.styleId - introduce single implementation for lineEndings in InspectorStyleSheetBase - eliminate method InspectorStyleSheetBase.reparsestyleSheet BUG=341506 Review URL: https://codereview.chromium.org/203633003 git-svn-id: svn://svn.chromium.org/blink/trunk@169574 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timvolodine@chromium.org authored
This patch unlocks the text autosizing multipliers when the document has finished parsing. This is necessary to avoid weird effects when layout changes significantly during page load. Resetting multipliers allows for a fresh autosizing pass to take into account the whole document. In particular this patch fixes issues with overlines on http://forum.xda-developers.com and partially addresses inconsistent font size on www.drudgereport.com (see referenced bugs for details). BUG=346786,131566 Review URL: https://codereview.chromium.org/189113014 git-svn-id: svn://svn.chromium.org/blink/trunk@169572 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
The previous logic could fail in some cases when the heuristic specified for the identity of the layer to squash into did not match exactly the choice used later in assignLayersToBackings. The new code is a bit cleaner also. BUG=261605 Review URL: https://codereview.chromium.org/195893026 git-svn-id: svn://svn.chromium.org/blink/trunk@169571 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Review URL: https://codereview.chromium.org/203193008 git-svn-id: svn://svn.chromium.org/blink/trunk@169568 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
Matches a planned change to the spec: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25094 Chromium side of this change: https://codereview.chromium.org/203303006/ BUG=245025 Review URL: https://codereview.chromium.org/204013006 git-svn-id: svn://svn.chromium.org/blink/trunk@169567 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
qinmin@chromium.org authored
When an element enters fullscreen, main frame's content size may not be equal to that of the fullscreen renderer. As a result, the fullscreen layer is scrollable. This might cause some unnecessary computations and some wierd artifacts: For example, on android phones, the edge glow effect may come after scrolling the fullscreen video page several times, rather than coming immediately. This CL sets the scroll clip layer to NULL, so we won't be able to scroll it. BUG=352183 Review URL: https://codereview.chromium.org/200943002 git-svn-id: svn://svn.chromium.org/blink/trunk@169566 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
For some reason having this annotation leads to linker errors on the oilpan asan build. obj/third_party/WebKit/Source/modules/libmodules.a(obj/third_party/WebKit/Source/modules/webdatabase/modules.DatabaseSync.o):../../third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp:function __unnamed_1: error: undefined reference to '.str' obj/third_party/WebKit/Source/modules/libmodules.a(obj/third_party/WebKit/Source/modules/webdatabase/modules.DatabaseSync.o):../../third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp:function __unnamed_1: error: undefined reference to '.str1' Kostya, do you have any ideas why this might break the asan build? R=kcc@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG= Review URL: https://codereview.chromium.org/204673002 git-svn-id: svn://svn.chromium.org/blink/trunk@169564 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Make myself an OWNER for the screen_orientation module. R=abarth, eseidel NOTRY=true Review URL: https://codereview.chromium.org/199413031 git-svn-id: svn://svn.chromium.org/blink/trunk@169563 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rijubrata.bhaumik@intel.com authored
Blink side cleanup. related to crbug.com/344319 Review URL: https://codereview.chromium.org/203603007 git-svn-id: svn://svn.chromium.org/blink/trunk@169562 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zvorygin@chromium.org authored
IDBIndex.h -> IDBObjectStore.h -> IDBIndex.h IDBRequest.h -> IDBCursor.h -> IDBRequest.h BUG=353954 R=jsbell@chromium.org Review URL: https://codereview.chromium.org/203773012 git-svn-id: svn://svn.chromium.org/blink/trunk@169561 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
There are no const methods which modify these fields. BUG= Review URL: https://codereview.chromium.org/196483005 git-svn-id: svn://svn.chromium.org/blink/trunk@169560 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zvorygin@chromium.org authored
BUG=353954 Review URL: https://codereview.chromium.org/203223014 git-svn-id: svn://svn.chromium.org/blink/trunk@169559 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Add Element::subResourceAttributeName() virtual function to distribute the code to each HTML class, instead of having a complex function with a lot of branching to determine the subresource attribute name of an Element. R=tkent, adamk Review URL: https://codereview.chromium.org/202633009 git-svn-id: svn://svn.chromium.org/blink/trunk@169558 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=353994 Review URL: https://codereview.chromium.org/196383036 git-svn-id: svn://svn.chromium.org/blink/trunk@169557 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Marker identifiers can be better stored as AtomicString (like for instance clip-path identifiers) since they wil llikely share the same value as an id attribute. Review URL: https://codereview.chromium.org/203723007 git-svn-id: svn://svn.chromium.org/blink/trunk@169556 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=lushnikov@chromium.org, lushnikov, pfeldman Review URL: https://codereview.chromium.org/203433002 git-svn-id: svn://svn.chromium.org/blink/trunk@169555 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
Uin32Array already has subarray method that returns a new view for the same array buffer. BUG=None R=alph@chromium.org Review URL: https://codereview.chromium.org/204563002 git-svn-id: svn://svn.chromium.org/blink/trunk@169554 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
TBR=vsevik@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/196423025 git-svn-id: svn://svn.chromium.org/blink/trunk@169553 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
This patch keeps highlightPosition method on SourceFrame for backwards compatibility with corresponding virtual methods on View. R=lushnikov@chromium.org, lushnikov, pfeldman Review URL: https://codereview.chromium.org/204323003 git-svn-id: svn://svn.chromium.org/blink/trunk@169551 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
Introduce InspectorStyleSheetBase, inherit InspectorStyleSheet and InspectorStyleSheetForInlineStyle from it. BUG=341506 Review URL: https://codereview.chromium.org/202103002 git-svn-id: svn://svn.chromium.org/blink/trunk@169550 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
r169450 has resulted in multiple failures of existing code where functions annotated with @this are passed as arguments along with their receivers. The cases include: - Array.prototype.forEach and other iteration-with-callback methods. - RemoteObject.prototype.callFunction[JSON], whose functionDeclaration can be evaluated on any Object (but expect a certain type thereof). - WebInspector.Object.prototype.{add,remove}EventListener, which accepts the callback receiver as its third argument. This patch introduces receiver specification detection in these cases, or resorts to IGNORE in ambiguous situations. R=aandrey, sergeyv, vsevik NOTRY=true Review URL: https://codereview.chromium.org/203443010 git-svn-id: svn://svn.chromium.org/blink/trunk@169549 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
overridden for explicit destructor dispatching. The |finalize| name is too short and makes sense in other places in the code. We rarely need to override finalizeGarbageCollectedObject so it is fine that the method name is long. Concretely, fileapi Stream has a finalize method that currently gets called instead of the destructor. That leads to crashes because the Stream destructor is not called and therefore the Stream is no unregistered as a ContextLifecycleObserver and a call is made on the already dead stream when the Document dies. R=erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, tkent@chromium.org, zerny@chromium.org BUG=352755 Review URL: https://codereview.chromium.org/199273005 git-svn-id: svn://svn.chromium.org/blink/trunk@169548 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mario.prada@samsung.com authored
Spaces are are neither in the Ps, Pe, Pi, Pf and Po sections of UNICODE, so they should not be considered when determining the length of the first-letter pseudo-element. This change will make Blink inconsistent with WebKit (which consider spaces, without it being specified by the CSS spec. It will make Blink consistent with other engines such Trident (IE11) and Opera. R=eae@chromium.org, tkent@chromium.org BUG=340688 TEST=Update existing test to treat spaces according to this change, and move it to use reftests. Review URL: https://codereview.chromium.org/198013006 git-svn-id: svn://svn.chromium.org/blink/trunk@169547 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wibling@chromium.org authored
Also moved the simple ViewportStyleResolver onto the heap. Next will change ImmutableStylePropertySet to transition types. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, tkent@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG=341815 Review URL: https://codereview.chromium.org/204373003 git-svn-id: svn://svn.chromium.org/blink/trunk@169546 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
gnanasekar.s@samsung.com authored
LayoutUnit misuse, often from improper conversion to other types,is a constant source of bugs in Blink. This is the second patch with the goal of making such error-prone conversions explicit in the hopes of forcing developers to think through these conversions while writing their patches. These conversion sites were discovered by toggling the float conversions to explicit and finding the compiler errors. BUG=350474 Review URL: https://codereview.chromium.org/200023002 git-svn-id: svn://svn.chromium.org/blink/trunk@169545 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dongseong.hwang@intel.com authored
Move BitmapImageTest.cpp, GIFImageDecoderTest.cpp and JPEGImageDecoderTest.cpp. BUG=353585 Review URL: https://codereview.chromium.org/203543002 git-svn-id: svn://svn.chromium.org/blink/trunk@169544 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sudarshan.p@samsung.com authored
This is a minor refactor, that removes an unused private member function valueChanged. Review URL: https://codereview.chromium.org/204333002 git-svn-id: svn://svn.chromium.org/blink/trunk@169543 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=aandrey, pfeldman, vsevik NOTRY=true Review URL: https://codereview.chromium.org/202763006 git-svn-id: svn://svn.chromium.org/blink/trunk@169542 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
This is to determine if it could be made readonly. The getter is measured to learn the relative usage, and is most likely above any threshold for removal. BUG=none Review URL: https://codereview.chromium.org/203193010 git-svn-id: svn://svn.chromium.org/blink/trunk@169541 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
R=ager@chromium.org,haraken@chromium.org BUG=340522 Review URL: https://codereview.chromium.org/201083004 git-svn-id: svn://svn.chromium.org/blink/trunk@169540 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
Revert of Web Animations API: Load resources referenced in element.animate() (https://codereview.chromium.org/196573030/) Reason for revert: Causing assertion failure in ChromeOS browser_tests. https://code.google.com/p/chromium/issues/detail?id=353962 Original issue's description: > Web Animations API: Load resources referenced in element.animate() > > This patch fixes a bug where resources in element.animate() calls were > not being fetched. This resulted in StylePendingImages leaking out of > the style resolving stage and into rendering which causes a crash. > > This patch fixes the bug by ensuring StylePendingImages introduced in > applyAnimatedProperties() will be resolved as non-pending StyleImages > through an additional call to loadPendingResources(). > This patch also modifies AnimatableImage to be a wrapper of CSSValues > instead of StyleImages in order to follow the same resource caching > logic as typical CSS image values. > This patch also updates EffectInput::convert() to pass the document's > StyleSheetContents to MutableStylePropertySet::setProperty() so that > relative URLs are correctly resolved to absolute URLs. > > BUG=353385 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169424 TBR=dstockwell@chromium.org,esprehn@chromium.org NOTREECHECKS=true NOTRY=true BUG=353385 Review URL: https://codereview.chromium.org/203413008 git-svn-id: svn://svn.chromium.org/blink/trunk@169539 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Also add missing transition type handling for [PutForwards] over garbage collected interface types. R=haraken@chromium.org BUG=340522 Review URL: https://codereview.chromium.org/196133029 git-svn-id: svn://svn.chromium.org/blink/trunk@169538 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
keonho07.kim@samsung.com authored
ScriptExcution thread can set source location info such as postioin, orientation and velocity. These locations also are read from audio thread. Distance model also need to quarantee a thread safety. FIXME :consider thread safety about m_position in audio thread. FIXME :consider thread safety about m_orientation in audio thread. FIXME :consider thread safety about m_velocity in audio thread. BUG=350583 Review URL: https://codereview.chromium.org/196993002 git-svn-id: svn://svn.chromium.org/blink/trunk@169537 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=aandrey, vsevik NOTRY=true Review URL: https://codereview.chromium.org/200053006 git-svn-id: svn://svn.chromium.org/blink/trunk@169536 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Oilpan: Prepare to move AbstractSQLTransactionBackend, SQLTransactionBackend, and SQLTransactionCoordinator::CoordinationInfo to Oilpan heap. This CL changes the mapped type of m_coordinationInfoMap from copyable object to OwnPtr<> or Member<>. So we need to update some code in SQLTransactionCoordinator. BUG=347902 R=ager@chromium.org, haraken@chromium.org Review URL: https://codereview.chromium.org/198213005 git-svn-id: svn://svn.chromium.org/blink/trunk@169535 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tommyw@chromium.org authored
Missed a case for remote tracks. BUG=352154 Review URL: https://codereview.chromium.org/201353002 git-svn-id: svn://svn.chromium.org/blink/trunk@169534 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
NOTRY=true TBR=abarth BUG=None Review URL: https://codereview.chromium.org/203593010 git-svn-id: svn://svn.chromium.org/blink/trunk@169533 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Also have DOMWindow keep a persistent reference to its Performance object. R= BUG=340522 Review URL: https://codereview.chromium.org/197283036 git-svn-id: svn://svn.chromium.org/blink/trunk@169532 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
erik.corry@gmail.com authored
R=ager@chromium.org, wibling@chromium.org BUG= Review URL: https://codereview.chromium.org/203363003 git-svn-id: svn://svn.chromium.org/blink/trunk@169531 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-