- 24 Oct, 2014 5 commits
 - 
- 
fmalita@chromium.org authored
This reduces deferred paint save pressure and allows us to remove a couple of GC state savers. R=schenney@chromium.org,senorblanco@chromium.org TBR=esprehn@chromium.org BUG=424655 Review URL: https://codereview.chromium.org/671813002 git-svn-id: svn://svn.chromium.org/blink/trunk@184318 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
dcheng@chromium.org authored
BUG=none Review URL: https://codereview.chromium.org/640923004 git-svn-id: svn://svn.chromium.org/blink/trunk@184317 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
leviw@chromium.org authored
I'm curious how common Ruby really is, as it adds complexity to Line Layout. Review URL: https://codereview.chromium.org/672343002 git-svn-id: svn://svn.chromium.org/blink/trunk@184316 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
bungeman@chromium.org authored
According to the design document for the existence of the blink_skia_config.gyp file, it was originally intended to be a gypi as proposed in this change. However, at the time, use of the '<(webkit_src_dir)' gyp variable was required to get the correct location of WebKit. Since variables do not expand in 'includes' in gyp, a gyp file was used instead so that it could be used in 'dependencies'. These limitations no longer exist and converting to a gypi allows for easier interoperation with gn. There will be a subsequent change to Chromium to use this new file, and then the existing gyp file will be removed in a follow-up change. Review URL: https://codereview.chromium.org/671323002 git-svn-id: svn://svn.chromium.org/blink/trunk@184315 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
bashi@chromium.org authored
compute_interfaces_info_individual has global variables. These variables are updated each time we call compute_info_individual(). This could be a problem when we want to call compute_info_individual() for separate components in the same process. Such cases could happen in run-bindings-test when we add union types collection in compute_info_individual(). We would want to collect all union types which are used by IDL files under Source/bindings/test/idls, but we don't want to collect them for IDL files under Source/{core,modules}. This CL introduces a class and moves global variables into the class as instance variables. This CL doesn't change generated bindings code at this moment. BUG=425916 Review URL: https://codereview.chromium.org/671863002 git-svn-id: svn://svn.chromium.org/blink/trunk@184314 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
 - 
 - 23 Oct, 2014 35 commits
 - 
- 
japhet@chromium.org authored
If we call setWidget for a newly created LocalFrame that's not fully attached to the frame tree, it will be in an inconsistent state and cause crashes during painting. Instead, update the widget at swap-time, when the frame actually becomes fully attached. BUG=422583 Review URL: https://codereview.chromium.org/668963002 git-svn-id: svn://svn.chromium.org/blink/trunk@184313 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
jsbell@chromium.org authored
Originally proposed in the Encoding standard as 'ScalarValueString', this type was finally added to Web IDL with the name 'USVString' ("Unicode scalar value string"). The behavior is identical: unpaired UTF-16 surrogate code units in JS strings are converted to U+FFFD replacement characters by the binding layer. The type name is not exposed to script, so this is not a web-exposed change. Spec: http://heycam.github.io/webidl/#idl-USVString BUG=423660 R=haraken@chromium.org Review URL: https://codereview.chromium.org/644473006 git-svn-id: svn://svn.chromium.org/blink/trunk@184312 bbb929c8-8fbe-4397-9dbb-9b2b20218538 - 
leviw@chromium.org authored
Revert of Adding PreRole in blink side to expose HTML pre tag with correct MSAA+IA2. (patchset #1 id:1 of https://codereview.chromium.org/671003002/) Reason for revert: Broke the browser tests crbug.com/426608 Original issue's description: > Adding PreRole in blink side to expose HTML pre tag with correct MSAA+IA2. > > This is blink side CL to expose HTML pre tag in chromium side with proper MSAA+IA2 role. > > BUG=426053 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184300 TBR=dmazzoni@chromium.org,aboxhall@chromium.org,shreeram.k@samsung.com NOTREECHECKS=true NOTRY=true BUG=426053 Review URL: https://codereview.chromium.org/675033002 git-svn-id: svn://svn.chromium.org/blink/trunk@184311 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
jsbell@chromium.org authored
Cache.put() should fail the operation if request's scheme is not "http" or "https", or if the method is not "GET" Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html R=jkarlin@chromium.org BUG=425505 Review URL: https://codereview.chromium.org/675733003 git-svn-id: svn://svn.chromium.org/blink/trunk@184310 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
jfernandez@igalia.com authored
When the alignment subject is larger than the alignment container, it will overflow. Some alignment modes, if honored in this situation, may cause data loss; an overflow alignment mode can be explicitly specified to avoid this. BUG=249451, 376823 Review URL: https://codereview.chromium.org/614263005 git-svn-id: svn://svn.chromium.org/blink/trunk@184309 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
nasko@chromium.org authored
BUG=399775 Review URL: https://codereview.chromium.org/637283010 git-svn-id: svn://svn.chromium.org/blink/trunk@184308 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
jsbell@chromium.org authored
Spec was updated with the determination that add(), addAll() and put() should resolve to `undefined`, not the response(s). Only put() is currently implemented; update the resolution type. BUG=425469 R=jkarlin@chromium.org Review URL: https://codereview.chromium.org/658743003 git-svn-id: svn://svn.chromium.org/blink/trunk@184307 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
peter@chromium.org authored
The WebNotificationManager is analogous to the WebNotificationPresenter living in public/web/, but without any dependency on RenderView or RenderFrames. It also splits up the concept of the data associated with a notification and the delegate allowing the embedder to interact with it, as it will soon become possible for the embedder to trigger creation of Notification objects as well (for event delivery in Service Workers). BUG=392187 Review URL: https://codereview.chromium.org/672183003 git-svn-id: svn://svn.chromium.org/blink/trunk@184306 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
fmalita@chromium.org authored
With most of the SVG record time rasterization out of the way, the only client left for calculateDeviceSpaceTransformation() is calculateScreenFontSizeScalingFactor(). Let's hide the ugly there. R=fs@opera.com,schenney@chromium.org,pdr@chromium.org Review URL: https://codereview.chromium.org/677443003 git-svn-id: svn://svn.chromium.org/blink/trunk@184305 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
pdr@chromium.org authored
This patch cleans up the individual invalidation tests to always call next() directly instead of relying on the previous test to call invokeAsyncWithTimeline. BUG=410701 Review URL: https://codereview.chromium.org/674963003 git-svn-id: svn://svn.chromium.org/blink/trunk@184304 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
leviw@chromium.org authored
TBR=rsesek@chromium.org Review URL: https://codereview.chromium.org/671633006 git-svn-id: svn://svn.chromium.org/blink/trunk@184302 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
zeeshanq@chromium.org authored
BUG=381728 Review URL: https://codereview.chromium.org/669253002 git-svn-id: svn://svn.chromium.org/blink/trunk@184301 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
shreeram.k@samsung.com authored
This is blink side CL to expose HTML pre tag in chromium side with proper MSAA+IA2 role. BUG=426053 Review URL: https://codereview.chromium.org/671003002 git-svn-id: svn://svn.chromium.org/blink/trunk@184300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
adamk@chromium.org authored
Also mark them as Pass/Failure right now, as they'll start failing with the rebaselines included in this patch but will pass again after the next v8 roll. BUG=426543 TBR=mstarzinger@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/671293002 git-svn-id: svn://svn.chromium.org/blink/trunk@184299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
bokan@chromium.org authored
This was causing a NaN assertion further on in FrameView::maximumScrollPosition. BUG=425757 Review URL: https://codereview.chromium.org/663993003 git-svn-id: svn://svn.chromium.org/blink/trunk@184298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184294 BUG=397642 TBR=leviw@chromium.org Review URL: https://codereview.chromium.org/675003002 git-svn-id: svn://svn.chromium.org/blink/trunk@184297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
jchaffraix@chromium.org authored
The change removed RenderTableRow::clippedOverflowRectForPaintInvalidation but the row's visual overflow doesn't include any cells spanning several rows, which is required to be able to invalidate rows correctly. The fix is to include the spanning cells into the row's visual overflow. Because they both share the section's coordinate system, we need to translate the cell's coordinate into the row's to avoid some wrong visual overflow (aka over-invalidations). BUG=417060 Review URL: https://codereview.chromium.org/673533002 git-svn-id: svn://svn.chromium.org/blink/trunk@184296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
jsbell@chromium.org authored
We should be doing type checking everywhere, but for back-compat reasons Blink currently doesn't do "interface" or "unrestricted" enforcement. Turn it on for all the new SW interfaces (since there's no compat issue) and to fix a cache where Cache.put()'s second argument went unchecked. R=haraken@chromium.org BUG=426153 Review URL: https://codereview.chromium.org/676563002 git-svn-id: svn://svn.chromium.org/blink/trunk@184295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
leviw@chromium.org authored
https://codereview.chromium.org/673443002 changed checkbox and radio buttons by one pixel on Retina OSX. Rebaselining. TBR=rsesek@chromium.org Review URL: https://codereview.chromium.org/676773003 git-svn-id: svn://svn.chromium.org/blink/trunk@184294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
dglazkov@chromium.org authored
NOTRY=true TBR=jochen@chromium.org BUG= Review URL: https://codereview.chromium.org/675783003 git-svn-id: svn://svn.chromium.org/blink/trunk@184293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
skobes@chromium.org authored
BUG=426237 Review URL: https://codereview.chromium.org/668823005 git-svn-id: svn://svn.chromium.org/blink/trunk@184292 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
yhirano@chromium.org authored
[1] made such APIs return rejected Promises instead of throwing exceptions, but overloaded functions were not covered. This CL fixes the problem. 1: https://src.chromium.org/viewvc/blink?view=rev&revision=171450 BUG=359586 Review URL: https://codereview.chromium.org/675693002 git-svn-id: svn://svn.chromium.org/blink/trunk@184291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
bsalomon@google.com authored
R=junov@chromium.org Review URL: https://codereview.chromium.org/672943003 git-svn-id: svn://svn.chromium.org/blink/trunk@184289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
sigbjornf@opera.com authored
If a service worker registration is passed along to a resolver that's in a detached/stopping state, the WebServiceWorkerRegistration is simply disposed of. Have that dispose step only delete the object if the registration object isn't attached to a proxy already. If it is, it is responsible for releasing the resource. R=haraken BUG=426321 Review URL: https://codereview.chromium.org/669423002 git-svn-id: svn://svn.chromium.org/blink/trunk@184288 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
hayato@chromium.org authored
Rename the following functions: NodeTraversal::startsFrom(const Node*) (and Traversal<ElementType>::startsFrom(const ElementType*) NodeTraversal::startsFromNextOf(const Node&) (and Traversal<ElementType>::startsFromNextOf(const ElementType&) to: NodeTraversal::startsAt(const Node*) (and Traversal<ElementType>::startsAt(const ElementType*) NodeTraversal::startsAfter(const Node&) (and Traversal<ElementType>::startsAfter(const ElementType&) so that they have more meaningful names. This patch also removes an unnecessary underlying iterator, TraversalInclusiveNextIterator. BUG=None TEST=no layout test failure Review URL: https://codereview.chromium.org/667403002 git-svn-id: svn://svn.chromium.org/blink/trunk@184287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
caseq@chromium.org authored
BUG=426095 Review URL: https://codereview.chromium.org/645403004 git-svn-id: svn://svn.chromium.org/blink/trunk@184286 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
haraken@chromium.org authored
This CL simplifies Heap::allocate for an upcoming optimization (I'm planning to implement size-aware Heap). This CL doesn't improve performance. - The key change is in Heap::allocate. - After this CL, ThreadState::getStats and ThreadState::getStatsForTesting return different stats. ThreadState::getStats returns the size of allocated objects *including* object headers, whereas ThreadState::getStatsForTesting returns the size of allocated objects *excluding* object headers. This is because there is no easy way to know the header size of each object in tests, and thus tests cannot test the size of allocated objects unless ThreadState::getStatsForTesting returns the size of allocated objects *excluding* object headers. - This CL renames Heap::getStats to Heap::getStatsForTesting because it is used by testing only. BUG=420515 Review URL: https://codereview.chromium.org/634243004 git-svn-id: svn://svn.chromium.org/blink/trunk@184285 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184271 BUG=401814 TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/672233003 git-svn-id: svn://svn.chromium.org/blink/trunk@184284 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
aandrey@chromium.org authored
DevTools: Fix __commandLineAPI is not defined error and remove the with- hack for eval on call frame. BUG=415578, 110163 R=yurys, pfeldman Review URL: https://codereview.chromium.org/644403003 git-svn-id: svn://svn.chromium.org/blink/trunk@184283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
kozyatinskiy@google.com authored
R=vsevik@chromium.org Review URL: https://codereview.chromium.org/645513004 git-svn-id: svn://svn.chromium.org/blink/trunk@184282 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
andersr@opera.com authored
Changed column-width such that we're actually using more than one column. Makes it easier to immediately visually verify that multicol is being used. Also changed text contents to be less sensitive to computed font size across platforms. R=mstensho@opera.com BUG=386567 Review URL: https://codereview.chromium.org/643923003 git-svn-id: svn://svn.chromium.org/blink/trunk@184281 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
mkwst@chromium.org authored
As specced at http://mikewest.github.io/credentialmanagement/spec/#interfaces-credential-types-localcredential BUG=400674 Review URL: https://codereview.chromium.org/645023005 git-svn-id: svn://svn.chromium.org/blink/trunk@184280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
kozyatinskiy@google.com authored
This methods accept callback which will be called when scripts finished execution. R=vsevik@chromium.org BUG=410289 Review URL: https://codereview.chromium.org/660863002 git-svn-id: svn://svn.chromium.org/blink/trunk@184279 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 - 
fs@opera.com authored
With RenderSVGResource reduced to a common base for paint-servers, it's possible to get rid of the multiple inheritance on RenderSVGResourceContainer by instead making it the base of RenderSVGResource{Gradient,Pattern} while inheriting from RenderSVGResourceContainer. Rename the files appropriately and update existing references to RenderSVGResource. Also take the opportunity to tighten the types a bit in some places. BUG=420022 Review URL: https://codereview.chromium.org/673753004 git-svn-id: svn://svn.chromium.org/blink/trunk@184278 bbb929c8-8fbe-4397-9dbb-9b2b20218538 - 
marja@chromium.org authored
This makes the main thread block and wait for the parser thread when all the script data has arrived. The goal is to ensure that the script (which can now be compiled) will get the main thread's attention as soon as possible. This feature is temporary: The usefulness of blocking will be evaluated with Finch, and this option will be removed (blocking will be always enabled or never enabled, based on which option turns out to be better). R=haraken@chromium.org BUG= Review URL: https://codereview.chromium.org/651163002 git-svn-id: svn://svn.chromium.org/blink/trunk@184277 bbb929c8-8fbe-4397-9dbb-9b2b20218538
 
 -