1. 21 Apr, 2009 6 commits
    • ggaren@apple.com's avatar
      2009-04-20 Geoffrey Garen <ggaren@apple.com> · 96ed62ac
      ggaren@apple.com authored
              Reviewed by Adam Roben.
      
              One last loose end, discovered using COLLECT_ON_EVERY_ALLOCATION, for
              https://bugs.webkit.org/show_bug.cgi?id=21260
              Unbounded memory growth when churning elements with anonymous event handler functions
              
              * bindings/js/JSSVGElementInstanceCustom.cpp:
              (WebCore::JSSVGElementInstance::mark): Don't ASSERT that an ElementInstance's
              correspondingElement has a JS wrapper. If a GC falls exactly between the
              allocation of the ElementInstance wrapper and the correspondingElement
              wrapper, the correspondingElement won't have a wrapper at the time we
              mark the ElementInstance's wrapper.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42695 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      96ed62ac
    • dglazkov@chromium.org's avatar
      2009-04-20 Ojan Vafai <ojan@chromium.org> · 5a993ba2
      dglazkov@chromium.org authored
              Reviewed by Adam Roben.
      
              Add Windows failures temporarily to the Skipped list after r42678.
              See https://bugs.webkit.org/show_bug.cgi?id=25306 for more
              information. This is just to get the tree green while the tests
              are fixed.
      
              * platform/win/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42694 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5a993ba2
    • aroben@apple.com's avatar
      First part of <rdar://6395825> It takes over 20 sec to launch Safari... · 4cf178cf
      aroben@apple.com authored
              First part of <rdar://6395825> It takes over 20 sec to launch Safari with 500KB history file
      
              This ports the changes that were made to WebKit/mac's WebHistory
              implementation in r25275 to WebKit/win. WebHistory now stores a
              HashMap from CFAbsoluteTime (stored as int64_t) to CFArray of
              IWebHistoryItem*. The HashMap lets us look up the CFArray for a
              particular day's history in constant time rather than linear time. The
              precise reasons why we store the CFAbsoluteTime as an int64_t are lost
              to the mists of time, but it is likely because these CFAbsoluteTimes
              never have a decimal part, and integer comparisons are faster than
              floating-point comparisons, so storing them as int64_t should improve
              performance without losing precision. We also now use a binary search
              instead of a linear search when determining the index at which to
              insert a WebHistoryItem into its day's CFArray.
      
              This patch reduces the time needed to load a 100,000-item
              History.plist from ~15 seconds to ~7.5 seconds. Further improvements
              could likely be made by reducing the number of string conversions,
              reducing calls to CFTimeZone functions, and removing all the
              WebHistoryItemsAdded notifications that are sent (Mac doesn't send any
              while loading history).
      
              Reviewed by Darin Adler.
      
              * WebHistory.cpp:
              (WebHistoryWriter::WebHistoryWriter): Changed to take a
              DateToEntriesMap instead of a CFArrayRef. Initialize m_dateKeys to
              contain the keys from m_entriesByDate in ascending order.
              (WebHistoryWriter::writeHistoryItems): Now loops through m_dateKeys in
              reverse order and gets the entries array from the DateToEntriesMap.
              (WebHistory::WebHistory): Removed code to initialize
              m_datesWithEntries (which has been removed) and m_entriesByDate (which
              has been converted to a HashMap).
              (WebHistory::removeAllItems): Clear out m_entriesByDate and
              m_orderedLastVisitedDays.
              (WebHistory::orderedLastVisitedDays): If we don't already have a
              cached m_orderedLastVisitedDays array, create one by converting the
              keys from m_entriesByDate to DATEs and sorting them in descending
              order. Then copy m_orderedLastVisitedDays to the output buffer.
              (WebHistory::orderedItemsLastVisitedOnDay): Updated to use findKey
              instead of findIndex and to treat m_entriesByDate as a HashMap.
              Now that the items in each day's CFArray are stored in descending
              order (newest to oldest), we don't have to reverse them when filling
              in the output buffer. (The old comment about putting the items in
              oldest-to-newest order was incorrect -- it was putting them in
              newest-to-oldest order.)
      
              (WebHistory::addItemToDateCaches):
              (WebHistory::removeItemFromDateCaches):
              Changed to use findKey instead of findIndex and to treat
              m_entriesByDate as a HashMap. If we're adding a key to or removing a
              key from m_entriesByDate, also clear m_orderedLastVisitedDays so that
              we will regenerate it for the current set of keys the next time it is
              needed.
      
              (timeIntervalForBeginningOfDay): Added. Returns the CFAbsoluteTime
              that corresponds to the beginning of the day in which the passed-in
              DATE occurs.
              (WebHistory::findKey): Returns the key used in m_entriesByDate to
              store the CFArray that should contain the IWebHistoryItem that
              corresponds to the passed-in DATE. Replaces findIndex.
              (WebHistory::insertItem): Changed to treat m_entriesByDate as a
              HashMap rather than a CFArray. We now optimize for inserting at the
              beginning and end of the array, and use a binary rather than linear
              search when inserting into the middle of the array.
              (WebHistory::data): Changed to treat m_entriesByDate as a HashMap.
      
              * WebHistory.h: Changed m_entriesByDate to a DateToEntriesMap, removed
              m_datesWithEntries, added m_orderedLastVisitedDays.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42693 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4cf178cf
    • aroben@apple.com's avatar
      Change MemoryStream::createInstance to return a COMPtr · ce6bd5ef
      aroben@apple.com authored
              Part of Bug 25294: All WebKit/win classes should return COMPtrs from
              their static constructor members
              <https://bugs.webkit.org/show_bug.cgi?id=25294>
      
              Reviewed by Darin Adler.
      
              * MemoryStream.cpp:
              (MemoryStream::createInstance): Changed to return a COMPtr.
              (MemoryStream::Clone): Updated for createInstance change.
              * MemoryStream.h: Changed createInstance to return a COMPtr.
      
              * WebArchive.cpp:
              (WebArchive::data):
              * WebCoreSupport/EmbeddedWidget.cpp:
              (EmbeddedWidget::didReceiveData):
              * WebDataSource.cpp:
              (WebDataSource::data):
              * WebHistory.cpp:
              (WebHistory::data):
              * WebIconFetcher.cpp:
              (WebIconFetcherClient::finishedFetchingIcon):
              * WebResource.cpp:
              (WebResource::createInstance):
              Updated for changes to MemoryStream::createInstance.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42692 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ce6bd5ef
    • aroben@apple.com's avatar
      Fix Bug 25295: Remove WebKit/win code that was used for Drosera support · 932ef477
      aroben@apple.com authored
              <https://bugs.webkit.org/show_bug.cgi?id=25295>
      
              Reviewed by Sam Weinig.
      
              * ForEachCoClass.h: Removed WebScriptDebugServer.
      
              * Interfaces/WebKit.idl: Removed WebScriptDebugServer and references
              to removed IDL files.
      
              * WebKit.vcproj/Interfaces.vcproj:
              * WebKit.vcproj/WebKit.vcproj:
              Removed IDL and source files for IWebScriptCallFrame,
              IWebScriptDebugListener, IWebScriptDebugServer, WebScriptCallFrame,
              and WebScriptDebugServer.
      
              * WebCoreSupport/WebFrameLoaderClient.cpp:
              * WebKitClassFactory.cpp:
              * WebKitDLL.cpp:
              Removed #includes of WebScriptDebugServer.h.
      
              * Interfaces/IWebScriptCallFrame.idl: Removed.
              * Interfaces/IWebScriptDebugListener.idl: Removed.
              * Interfaces/IWebScriptDebugServer.idl: Removed.
              * WebScriptCallFrame.cpp: Removed.
              * WebScriptCallFrame.h: Removed.
              * WebScriptDebugServer.cpp: Removed.
              * WebScriptDebugServer.h: Removed.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42691 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      932ef477
    • levin@chromium.org's avatar
      2009-04-20 Ojan Vafai <ojan@chromium.org> · 1a408711
      levin@chromium.org authored
              Reviewed by Eric Seidel
      
              Fix svg-fonts-in-text-controls.js to measure the
              widths after the SVG font has loaded.
      
              For now the expected results have the success line
              printed before the metrics being measured. I'll fix
              this in a following commit. See
              https://bugs.webkit.org/show_bug.cgi?id=25302
              for more details.
      
              * svg/custom/resources/svg-fonts-in-text-controls.js:
              * svg/custom/svg-fonts-in-text-controls-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42690 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1a408711
  2. 20 Apr, 2009 26 commits
    • sfalken@apple.com's avatar
      More Windows build fixes. · 009ad443
      sfalken@apple.com authored
              * JavaScriptCore.vcproj/JavaScriptCore.make: Copy DLLs, PDBs.
              * JavaScriptCore.vcproj/JavaScriptCore.resources: Added.
              * JavaScriptCore.vcproj/JavaScriptCore.resources/Info.plist: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.rc: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Add version stamping, resource copying.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42689 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      009ad443
    • beidson@apple.com's avatar
      2009-04-20 Brady Eidson <beidson@apple.com> · de0feabb
      beidson@apple.com authored
              Rubberstamped by Mark Rowe
      
              Clean builds are broken on case-sensitive filesystems.  Let's fix, shall we?
      
              * platform/graphics/SimpleFontData.cpp: Remove "String.h" include.  Ojan probably intended to include
                "PlatformString.h" which was unnecessary because it is pulled in through other headers.  This wasn't a 
                build failure on case-insensitive file systems because those systems would find the system <string.h>, averting
                the warning.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42688 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      de0feabb
    • ggaren@apple.com's avatar
      2009-04-20 Geoffrey Garen <ggaren@apple.com> · 57d6cce7
      ggaren@apple.com authored
              Reviewed by Darin Adler.
      
              Last patch for https://bugs.webkit.org/show_bug.cgi?id=21260
              Unbounded memory growth when churning elements with anonymous event handler functions
              
              Converted "lazy" event listeners to be unprotected, just like all the others.
      
              * bindings/js/JSEventListener.cpp:
              (WebCore::JSEventListener::JSEventListener):
              (WebCore::JSEventListener::~JSEventListener):
              (WebCore::JSEventListener::jsFunction):
              (WebCore::JSEventListener::markJSFunction):
              (WebCore::JSEventListener::handleEvent):
              (WebCore::JSEventListener::virtualIsInline):
              * bindings/js/JSEventListener.h:
              (WebCore::JSEventListener::isInline): Merged JSAbstractEventListener
              into JSEventListener. Now that the only difference between JSEventListener
              and JSLazyEventListener is that JSLazyEventListener compiles lazily,
              there's no need for an abstract base class.
      
              * bindings/js/JSLazyEventListener.cpp: Converted JSLazyEventListener to
              inherit from JSEventListener and match its un-GC-protected behavior.
              (WebCore::JSLazyEventListener::JSLazyEventListener): ditto
              (WebCore::JSLazyEventListener::parseCode): ditto
              (WebCore::createInlineEventListener): When creating a lazy event listener,
              ensure that the related node has a JS wrapper to mark the listener. Since
              the parser makes these listeners, it's possible that no JS reference has
              been made to the node yet.
              * bindings/js/JSLazyEventListener.h: ditto
      
              * dom/EventListener.h:
              (WebCore::EventListener::clearJSFunction): Removed an usused function.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42687 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      57d6cce7
    • justin.garcia@apple.com's avatar
      Fixed typo. · a1350a31
      justin.garcia@apple.com authored
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42686 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a1350a31
    • justin.garcia@apple.com's avatar
      2009-04-20 Justin Garcia <justin.garcia@apple.com> · 405f8493
      justin.garcia@apple.com authored
              Reviewed by Dan Bernstein.
      
              https://bugs.webkit.org/show_bug.cgi?id=25299
              Don't bound caret to root line box if it is still inside its containing block
              
              Can't yet write tests for behavior of non-standard caret widths.
      
              * rendering/RenderText.cpp:
              (WebCore::RenderText::localCaretRect):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42685 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      405f8493
    • sfalken@apple.com's avatar
      Build fix · 65ea5164
      sfalken@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42684 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      65ea5164
    • sfalken@apple.com's avatar
      Build fix · 643a9705
      sfalken@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42683 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      643a9705
    • sfalken@apple.com's avatar
      Build fix · 38ad2698
      sfalken@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42682 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      38ad2698
    • darin@apple.com's avatar
      WebKitTools: · acb629d7
      darin@apple.com authored
      2009-04-20  Darin Adler  <darin@apple.com>
      
              Reviewed by Sam Weinig.
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added PlainTextController.h
              and PlainTextController.mm.
      
              * DumpRenderTree/mac/FrameLoadDelegate.mm:
              (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): Added PlainTextController
              as "window.plainText".
      
              * DumpRenderTree/mac/PlainTextController.h: Added.
              * DumpRenderTree/mac/PlainTextController.mm: Added.
      
      LayoutTests:
      
      2009-04-20  Darin Adler  <darin@apple.com>
      
              Reviewed by Sam Weinig.
      
              * fast/dom/Window/window-properties.html: Added a new DumpRenderTree window
              object property, plainText.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42681 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      acb629d7
    • sfalken@apple.com's avatar
      JavaScriptCore: · 063c9d0b
      sfalken@apple.com authored
      2009-04-20  Steve Falkenburg  <sfalken@apple.com>
      
              Separate JavaScriptCore.dll from WebKit.dll.
              Slight performance improvement or no change on benchmarks.
              
              Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
              and simplifies standalone JavaScriptCore builds.
      
              Reviewed by Oliver Hunt.
      
              * API/JSBase.h: Export symbols with JS_EXPORT when using MSVC.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj: Build JavaScriptCore as a DLL instead of a static library.
              * config.h: Specify __declspec(dllexport/dllimport) appropriately when exporting data.
              * runtime/InternalFunction.h: Specify JS_EXPORTDATA on exported data.
              * runtime/JSArray.h: Specify JS_EXPORTDATA on exported data.
              * runtime/JSFunction.h: Specify JS_EXPORTDATA on exported data.
              * runtime/StringObject.h: Specify JS_EXPORTDATA on exported data.
              * runtime/UString.h: Specify JS_EXPORTDATA on exported data.
      
      WebCore:
      
      2009-04-20  Steve Falkenburg  <sfalken@apple.com>
      
              Separate JavaScriptCore.dll from WebKit.dll.
              Slight performance improvement or no change on benchmarks.
              
              Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
              and simplifies standalone JavaScriptCore builds.
      
              Reviewed by Oliver Hunt.
      
              * config.h: Specify __declspec(dllexport/dllimport) appropriately when exporting data.
      
      WebKit/cf:
      
      2009-04-20  Steve Falkenburg  <sfalken@apple.com>
      
              Separate JavaScriptCore.dll from WebKit.dll.
              Slight performance improvement or no change on benchmarks.
              
              Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
              and simplifies standalone JavaScriptCore builds.
              
              Reviewed by Oliver Hunt.
      
              * WebCoreSupport/WebInspectorClientCF.cpp: Workaround for lack of config.h in shared WebKit file (WebKit/win uses config.h from WebCore).
      
      WebKit/win:
      
      2009-04-20  Steve Falkenburg  <sfalken@apple.com>
      
              Separate JavaScriptCore.dll from WebKit.dll.
              Slight performance improvement or no change on benchmarks.
              
              Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
              and simplifies standalone JavaScriptCore builds.
      
              Reviewed by Oliver Hunt.
      
              * WebKit.vcproj/WebKit.def: Mark JavaScriptCore re-exports as deprecated.
              * WebKit.vcproj/WebKit.vcproj: Link against JavaScriptCore.dll
              * WebKit.vcproj/WebKit_debug.def: Mark JavaScriptCore re-exports as deprecated.
      
      WebKitLibraries:
      
      2009-04-20  Steve Falkenburg  <sfalken@apple.com>
      
              Separate JavaScriptCore.dll from WebKit.dll.
              Slight performance improvement or no change on benchmarks.
              
              Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
              and simplifies standalone JavaScriptCore builds.
      
              Reviewed by Oliver Hunt.
      
              * win/tools/vsprops/common.vsprops: Add BUILDING_{project} preprocessor define.
      
      WebKitTools:
      
      2009-04-20  Steve Falkenburg  <sfalken@apple.com>
      
              Separate JavaScriptCore.dll from WebKit.dll.
              Slight performance improvement or no change on benchmarks.
              
              Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
              and simplifies standalone JavaScriptCore builds.
      
              Reviewed by Oliver Hunt.
      
              * DumpRenderTree/config.h: Specify JS, WebKit exported data as __declspec(dllimport)
              * DumpRenderTree/win/DumpRenderTree.vcproj: Link against JavaScriptCore.dll
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42680 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      063c9d0b
    • andersca@apple.com's avatar
      WebCore: · 22d1c4e1
      andersca@apple.com authored
      2009-04-20  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Sam Weinig.
      
              <rdar://problem/6722845> In the Cocoa event model, NPWindow's window field should be null
      
              * bridge/npapi.h:
              (_NPCocoaEvent::):
              Add a CGContextRef member to the draw struct. Add an NPCoordinateSpace enum.
              
              * plugins/npfunctions.h:
              Add a prototype for NPN_ConvertPoint.
      
      WebKit/mac:
      
      2009-04-17  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Sam Weinig.
      
              <rdar://problem/6722845>
              In the Cocoa event model, NPWindow's window field should be null
              
              * Plugins/Hosted/NetscapePluginHostProxy.mm:
              (WKPCConvertPoint):
              Get the instance proxy and call it's convertPoint function.
              
              * Plugins/Hosted/NetscapePluginInstanceProxy.h:
              * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
              (WebKit::NetscapePluginInstanceProxy::convertPoint):
              Call convertPoint on the plug-in view.
              
              * Plugins/Hosted/WebKitPluginClient.defs:
              Add PCConvertPoint.
              
              * Plugins/WebBaseNetscapePluginView.h:
              Add a declaration for convertFromX:andY:space:toX:andY:space:.
              
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView convertFromX:andY:space:toX:andY:space:]):
              Convert a point from one coordinate system to another.
              
              * Plugins/WebNetscapePluginEventHandler.h:
              * Plugins/WebNetscapePluginEventHandlerCarbon.h:
              * Plugins/WebNetscapePluginEventHandlerCarbon.mm:
              (WebNetscapePluginEventHandlerCarbon::drawRect):
              * Plugins/WebNetscapePluginEventHandlerCocoa.h:
              Add CGContextRef to drawRect.
      
              * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
              (WebNetscapePluginEventHandlerCocoa::drawRect):
              Set the passed in context.
              
              * Plugins/WebNetscapePluginPackage.mm:
              (-[WebNetscapePluginPackage _tryLoad]):
              Add NPN_ConvertPoint to the browserFuncs vtable.
              
              * Plugins/WebNetscapePluginView.mm:
              (-[WebNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              Only set the window for the Carbon event model.
              
              (-[WebNetscapePluginView restorePortState:]):
              It's OK for the window context to be null.
              
              (-[WebNetscapePluginView sendDrawRectEvent:]):
              Pass the CGContextRef to drawRect.
      
              * Plugins/npapi.mm:
              (NPN_ConvertPoint):
              Call the plug-in view method.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42679 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      22d1c4e1
    • eric@webkit.org's avatar
      Reviewed by Dan Bernstein. · a7f69d10
      eric@webkit.org authored
              Make textarea and text input metrics more closely match IEs.
              https://bugs.webkit.org/show_bug.cgi?id=15312
      
              This involves:
              -set text input width to size*avgCharWidth + maxCharWidth - avgCharWidth
              -set textarea width to cols*avgCharWidth
              -Make default CSS match IEs
              -Correctly initializing m_avgCharWidth and m_maxCharWidth for each platform and SVG.
      
              Those values for textarea and inputs were derived by doing a ton of manual
              testing of IE's width values for various textareas and fonts.
      
              To get the average and max character width of a font, we do the following
              for each platform:
              -Win: TextMetrics expose avgCharWidth and maxCharWidth
              -SVG: avgCharWidth = width of an '0', fallback on width of a space glyph, then m_xHeight
                  maxCharWidth = width of a 'W' for roman fonts, fallback on m_ascent
              -Linux: avgCharWidth = width of an '0', fallback on m_xHeight
                  maxCharWidth = max of avgCharWidth and m_ascent
              -Mac: look in the OS/2 table for avgCharWidth and grab the maxCharWidth off the font.
                  If either one is not there, then calculate the value using the Linux approach.
      
              Linux ports could probably dig into the OS/2 table as well, but I'll leave
              that up to them to implement.
      
              Tests: fast/forms/text-control-intrinsic-widths.html
                     fast/forms/textarea-metrics.html
                     svg/custom/svg-fonts-in-text-controls.html
      
              * css/html4.css:
              * css/themeWin.css:
              * platform/graphics/SimpleFontData.cpp:
              (WebCore::SimpleFontData::SimpleFontData):
              (WebCore::SimpleFontData::initCharWidths):
              * platform/graphics/SimpleFontData.h:
              (WebCore::SimpleFontData::maxCharWidth):
              (WebCore::SimpleFontData::avgCharWidth):
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/chromium/SimpleFontDataLinux.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/gtk/SimpleFontDataGtk.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/gtk/SimpleFontDataPango.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/mac/SimpleFontDataMac.mm:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/qt/SimpleFontDataQt.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/win/SimpleFontDataCGWin.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/win/SimpleFontDataCairoWin.cpp:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/win/SimpleFontDataWin.cpp:
              (WebCore::SimpleFontData::initGDIFont):
              * platform/graphics/wx/SimpleFontDataWx.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::calcPrefWidths):
              * rendering/RenderTextControlMultiLine.cpp:
              (WebCore::RenderTextControlMultiLine::createInnerTextStyle):
              * rendering/RenderTextControlSingleLine.cpp:
              (WebCore::RenderTextControlSingleLine::preferredContentWidth):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42678 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a7f69d10
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · b0c92154
      eric@webkit.org authored
              Remove m_absoluteBounds hack from SVG renderers and move outlineBoundsForRepaint into RenderSVGModelObject
              https://bugs.webkit.org/show_bug.cgi?id=25276
      
              This also exposed a buggy paint check in RenderSVGContainer::layout()
              we should repaint if we are self painting OR if our kids changed, not AND.
      
              Writing real outlineBoundsForRepaint required writing a mapLocalToContainer() function
      
              No functional changes, thus no tests.
      
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::localToParentTransform):
              (WebCore::RenderPath::layout):
              * rendering/RenderPath.h:
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::layout):
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGModelObject.cpp:
              (WebCore::RenderSVGModelObject::mapLocalToContainer):
              (WebCore::RenderSVGModelObject::outlineBoundsForRepaint):
              * rendering/RenderSVGModelObject.h:
              * rendering/RenderSVGRoot.cpp:
              (WebCore::RenderSVGRoot::layout):
              (WebCore::RenderSVGRoot::paint):
              (WebCore::RenderSVGRoot::localToParentTransformWithoutCSSParentOffset):
              (WebCore::RenderSVGRoot::localToParentTransform):
              (WebCore::RenderSVGRoot::computeRectForRepaint):
              * rendering/RenderSVGRoot.h:
              * rendering/RenderSVGViewportContainer.cpp:
              (WebCore::RenderSVGViewportContainer::layout):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42677 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b0c92154
    • weinig@apple.com's avatar
      2009-04-20 Sam Weinig <sam@webkit.org> · dfd546b9
      weinig@apple.com authored
              Reviewed by Kevin McCullough.
      
              Always tag mmaped memory on darwin and clean up #defines
              now that they are a little bigger.
      
              * interpreter/RegisterFile.h:
              (JSC::RegisterFile::RegisterFile):
              * jit/ExecutableAllocatorFixedVMPool.cpp:
              (JSC::FixedVMPoolAllocator::FixedVMPoolAllocator):
              * jit/ExecutableAllocatorPosix.cpp:
              (JSC::ExecutablePool::systemAlloc):
              * runtime/Collector.cpp:
              (JSC::allocateBlock):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42676 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      dfd546b9
    • simon.fraser@apple.com's avatar
      2009-04-20 Simon Fraser <simon.fraser@apple.com> · 7d70e0f9
      simon.fraser@apple.com authored
              Reviewed by Eric Seidel
      
              https://bugs.webkit.org/show_bug.cgi?id=25282
      
              outlineBoundsForRepaint() should compute a quad relative to the
              repaintContainer. This fixes the repaint issues originally fixed in
              https://bugs.webkit.org/show_bug.cgi?id=12885 for elements in compositing layers.
              Failure was only apparent when building with ACCELERATED_COMPOSITING enabled.
      
              Tests: compositing/repaint/content-into-overflow.html
                     compositing/repaint/overflow-into-content.html
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::outlineBoundsForRepaint):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42675 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7d70e0f9
    • weinig@apple.com's avatar
      JavaScriptCore: · 0049c5b0
      weinig@apple.com authored
      2009-04-20  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Tim Hatcher.
      
              Add licenses for xcconfig files.
      
              * Configurations/Base.xcconfig:
              * Configurations/DebugRelease.xcconfig:
              * Configurations/FeatureDefines.xcconfig:
              * Configurations/JavaScriptCore.xcconfig:
              * Configurations/Version.xcconfig:
      
      JavaScriptGlue:
      
      2009-04-20  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Tim Hatcher.
      
              Add licenses for xcconfig files.
      
              * Configurations/Base.xcconfig:
              * Configurations/DebugRelease.xcconfig:
              * Configurations/JavaScriptGlue.xcconfig:
              * Configurations/Version.xcconfig:
      
      WebCore:
      
      2009-04-20  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Tim Hatcher.
      
              Add licenses for xcconfig files.
      
              * Configurations/Base.xcconfig:
              * Configurations/DebugRelease.xcconfig:
              * Configurations/FeatureDefines.xcconfig:
              * Configurations/Version.xcconfig:
              * Configurations/WebCore.xcconfig:
      
      WebKit/mac:
      
      2009-04-20  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Tim Hatcher.
      
              Add licenses for xcconfig files.
              
              * Configurations/Base.xcconfig:
              * Configurations/DebugRelease.xcconfig:
              * Configurations/FeatureDefines.xcconfig:
              * Configurations/Version.xcconfig:
              * Configurations/WebKit.xcconfig:
      
      WebKitTools:
      
      2009-04-20  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Tim Hatcher.
      
              Add licenses for xcconfig files.
      
              * DumpRenderTree/mac/Configurations/Base.xcconfig:
              * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
              * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
              * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
              * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42674 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0049c5b0
    • andersca@apple.com's avatar
      2009-04-20 Anders Carlsson <andersca@apple.com> · b54d0ee2
      andersca@apple.com authored
              Reviewed by Dan Bernstein.
      
              WebKit side of <rdar://problem/6781302>
              
              * Plugins/Hosted/NetscapePluginInstanceProxy.h:
              * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
              (WebKit::NetscapePluginInstanceProxy::keyEvent):
              Pass the event keyChar.
              
              (WebKit::NetscapePluginInstanceProxy::syntheticKeyDownWithCommandModifier):
              Ditto.
              
              (WebKit::NetscapePluginInstanceProxy::flagsChanged):
              Pass a 0 keyChar.
              
              * Plugins/Hosted/WebHostedNetscapePluginView.mm:
              (-[WebHostedNetscapePluginView flagsChanged:]):
              Call NetscapePluginInstanceProxy::flagsChanged.
              
              * Plugins/Hosted/WebKitPluginHost.defs:
              Add a keyChar argument.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42673 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b54d0ee2
    • kov@webkit.org's avatar
      2009-04-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 94215776
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
              https://bugs.webkit.org/show_bug.cgi?id=24786
              WebKitDownload sometimes suggests peculiar filenames
      
              Remove query and ref from the URI that is to be downloaded when
              using it to provide a file name suggestion.
      
              * webkit/webkitdownload.cpp:
              (_WebKitDownloadPrivate::webkit_download_set_property):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42672 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      94215776
    • dglazkov@chromium.org's avatar
      2009-04-20 Eric Roman <eroman@chromium.org> · 57629f74
      dglazkov@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=25261
              Implement the V8 binding for DOMWindow.event similarly to JSC, by using
              the custom getter boilerplate from the IDL file.
              Also, stub out DOMWindow.crypto which is defined by the idl.
      
              * bindings/v8/V8AbstractEventListener.cpp:
              (WebCore::V8AbstractEventListener::invokeEventHandler):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::ACCESSOR_GETTER):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42671 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      57629f74
    • kov@webkit.org's avatar
      WebCore · 2ca1398e
      kov@webkit.org authored
      2009-04-20  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Xan Lopez.
      
              https://bugs.webkit.org/show_bug.cgi?id=25243
              Crash when data:// loads are cancelled
      
              Properly handle cancellation of the load for data:// loads. This
              fixes crashing in the followin test:
      
              plugins/return-error-from-new-stream-callback-in-full-frame-plugin.html
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::parseDataUrl):
      
      WebKit/gtk
      
      2009-04-20  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Xan Lopez.
      
              Handle the case when the plugin view is destroyed during
              didReceiveResponse, to avoid crashing.
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::FrameLoaderClient::committedLoad):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42670 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2ca1398e
    • ariya@webkit.org's avatar
      2009-04-20 Ariya Hidayat <ariya.hidayat@nokia.com> · 317a50ee
      ariya@webkit.org authored
              Build fix for Qt port (after r42646). Not reviewed.
      
              * wtf/unicode/qt4/UnicodeQt4.h: Added U16_PREV.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42669 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      317a50ee
    • adele@apple.com's avatar
      2009-04-19 Adele Peterson <adele@apple.com> · 28d2a9c3
      adele@apple.com authored
              Reviewed by Darin Adler.
      
              Fix for <rdar://problem/6804809> REGRESSION: In Mail, Home and End do not scroll message
      
              If no scrolling occurs, call tryToPerform on the next responder.  Then our WebResponderChainSink
              will correctly detect if no responders handle the selector.
      
              * WebView/WebFrameView.mm:
              (-[WebFrameView _scrollToBeginningOfDocument]):
              (-[WebFrameView _scrollToEndOfDocument]):
              (-[WebFrameView scrollToBeginningOfDocument:]):
              (-[WebFrameView scrollToEndOfDocument:]):
              (-[WebFrameView scrollLineUp:]):
              (-[WebFrameView scrollLineDown:]):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42668 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      28d2a9c3
    • mitz@apple.com's avatar
      - maybe fix release builds · 6f490278
      mitz@apple.com authored
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElementData::notifyFinished):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42667 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6f490278
    • mitz@apple.com's avatar
      - fix release builds · 64d1f789
      mitz@apple.com authored
              * dom/Document.cpp:
              (WebCore::Document::executeScriptSoonTimerFired):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42666 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      64d1f789
    • mitz@apple.com's avatar
      WebCore: · 72b9d35f
      mitz@apple.com authored
              Reviewed by Mark Rowe.
      
              - fix <rdar://problem/6734365> REGRESSION eBay "Save this search" link
                does nothing the second time search results are opened
      
              Test: fast/dom/HTMLScriptElement/nested-execution.html
      
              Instead of executing scripts as soon as they finish loading, which may
              happen synchronously during execution of another script, defer their
              execution until the next run loop iteration, using a queue that is
              similar to the HTML5 notion of the "list of scripts that will execute as
              soon as possible", and in my testing was consistent with how Firefox
              behaved.
      
              * dom/Document.cpp:
              (WebCore::Document::Document): Initialize m_executeScriptSoonTimer.
              (WebCore::Document::~Document): deref() script elements in
              m_scriptsToExecuteSoon.
              (WebCore::Document::executeScriptSoonTimerFired): Added. Executes the
              scripts in m_scriptsToExecuteSoon and deref()s them.
              (WebCore::Document::executeScriptSoon): Added. Appends to
              m_scriptsToExecuteSoon and ref()s the script element, which keeps the
              ScriptElementData alive as well.
              * dom/Document.h:
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElementData::ScriptElementData): Initialize m_requested.
              (WebCore::ScriptElementData::requestScript): Set m_requested to true, to
              prevent further load requests.
              (WebCore::ScriptElementData::execute): Added. Moved the code from
              notifyFinished() which should not execute synchronously here, to be
              called by the Document on a 0-interval timer.
              (WebCore::ScriptElementData::notifyFinished): Moved the code to
              dispatch events and evaluate the script, which should not execute
              synchronously, out of here.
              (WebCore::ScriptElementData::ignoresLoadRequest): Changed to test for
              m_requested instead of m_cachedScript, because the latter is cleared
              before the script is evaluated.
              * dom/ScriptElement.h:
      
      LayoutTests:
      
              Reviewed by Mark Rowe.
      
              - test and updated tests for <rdar://problem/6734365> eBay "Save this
                search" link does nothing the second time search results are opened
      
              * fast/dom/HTMLScriptElement/nested-execution-expected.txt: Added.
              * fast/dom/HTMLScriptElement/nested-execution.html: Added.
              * fast/dom/HTMLScriptElement/resources/nested-execution.js: Added.
              * fast/dom/HTMLScriptElement/script-reexecution.html:
              * fast/dom/HTMLScriptElement/script-set-src.html:
              * fast/dom/script-element-gc.html:
              * fast/loader/local-JavaScript-from-local.html:
              * svg/dom/SVGScriptElement/script-reexecution.svg:
              * svg/dom/SVGScriptElement/script-set-href.svg:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42665 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      72b9d35f
    • oliver@apple.com's avatar
      <rdar://problem/6127705> Excessive memory consumption on image load failure · b54df599
      oliver@apple.com authored
      Reviewed by Antti Koivisto and Darin Adler
      
      When we fail to decode an image we clear most of the image data, but not the
      input data itself, which can be backed by a CFData object that itself holds onto
      a few hundred Kbs of memory.  This patch merely ensures that this buffer gets
      cleared.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42664 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b54df599
  3. 19 Apr, 2009 8 commits
    • darin@apple.com's avatar
      2009-04-19 Darin Adler <darin@apple.com> · 4b36a66d
      darin@apple.com authored
              * StringsNotToBeLocalized.txt: Updated for recent changes.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42663 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4b36a66d
    • weinig@apple.com's avatar
      2009-04-19 Sam Weinig <sam@webkit.org> · 16ccab9f
      weinig@apple.com authored
              Reviewed by Darin Adler.
      
              Better fix for JSStringCreateWithCFString hardening.
      
              * API/JSStringRefCF.cpp:
              (JSStringCreateWithCFString):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42662 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      16ccab9f
    • darin@apple.com's avatar
      ooo · 2ff8a023
      darin@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42661 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2ff8a023
    • darin@apple.com's avatar
      2009-04-19 Darin Adler <darin@apple.com> · c0cf1979
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              Add hoooks so sudden termination will not cause loss of icons or local storage.
              rdar://problem/5951701
      
              * loader/icon/IconDatabase.cpp: Marked various constants static to give them
              internal linkage.
              (WebCore::IconDatabase::IconDatabase): Added initial value for m_syncTimer.
              Removed unneeded initial value for m_defaultIconRecord. Changed assertion to
              work cross-platform.
              (WebCore::IconDatabase::wakeSyncThread): Added disableSuddenTermination, so
              we won't terminate until the sync thread has done its thing.
              (WebCore::IconDatabase::scheduleOrDeferSyncTimer): Added disableSuddenTermination,
              so we won't terminate if we have an outstanding sync timer.
              (WebCore::IconDatabase::syncTimerFired): Added enableSuddenTermination, to
              balance the one in scheduleOrDeferSyncTimer.
              (WebCore::IconDatabase::syncThreadMainLoop): Added enableSuddenTermination, to
              balance the one in wakeSyncThread.
              (WebCore::IconDatabase::deleteAllPreparedStatements): Use clear() instead of set(0).
      
              * loader/icon/IconDatabase.h: Use a Timer instead of an OwnPtr<Timer>.
      
              * storage/LocalStorageArea.cpp:
              (WebCore::LocalStorageArea::scheduleFinalSync): Added disableSuddenTermination.
              (WebCore::LocalStorageArea::scheduleItemForSync): Ditto.
              (WebCore::LocalStorageArea::scheduleClear): Ditto.
              (WebCore::LocalStorageArea::syncTimerFired): Added a disableSuddenTermination if
              we schedule a performSync callback for later and an unconditional
              enableSuddenTermination to balance the ones in the schedule calls above.
              (WebCore::LocalStorageArea::sync): Factored out the work of the sync function so it
              can continue to use early return idiom.
              (WebCore::LocalStorageArea::performSync): Added a call to enableSuddenTermination.
      
              * storage/LocalStorageArea.h: Added declaration of the sync function.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42660 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c0cf1979
    • weinig@apple.com's avatar
      2009-04-19 Sam Weinig <sam@webkit.org> · 6378da9c
      weinig@apple.com authored
              Reviewed by Dan Bernstein.
      
              Fix for <rdar://problem/5860954>
              Harden JSStringCreateWithCFString against malformed CFStringRefs.
      
              * API/JSStringRefCF.cpp:
              (JSStringCreateWithCFString):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42659 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6378da9c
    • ddkilzer@apple.com's avatar
      Make FEATURE_DEFINES completely dynamic · be917321
      ddkilzer@apple.com authored
              Reviewed by Darin Adler.
      
              Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME
              variables for each feature, making it possible to remove all
              knowledge of FEATURE_DEFINES from build-webkit.
      
      JavaScriptCore:
      
              * Configurations/FeatureDefines.xcconfig: Extract a variable
              from FEATURE_DEFINES for each feature setting.
      
      WebCore:
      
              * Configurations/FeatureDefines.xcconfig: Extract a variable
              from FEATURE_DEFINES for each feature setting.
      
      WebKit/mac:
      
              * Configurations/FeatureDefines.xcconfig: Extract a variable
              from FEATURE_DEFINES for each feature setting.
      
      WebKitTools:
      
              * Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME
              variables instead of the whole FEATURE_DEFINES string when
              building with Xcode.  Miscellaneous clean up:
              - Reordered/sorted command-line switch variables.
              - Reordered/sorted command-line switches in $usage.
              - Reordered/sorted command-line switches in GetOptions().
              - Defined $svgSupport to true if any --svg-feature switch is
                set in order to match "Implies SVG Support" claim.
              - Build JavaScriptGlue after JavaScriptCore again!
              - Fixed --[no-]geolocation for GTK+ port and sorted GTK+
                command-line switches.
              - Added "exit 0" statement at the end of the script.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      be917321
    • ggaren@apple.com's avatar
      2009-04-18 Geoffrey Garen <ggaren@apple.com> · c4682ceb
      ggaren@apple.com authored
              Reviewed by Alexey Proskuryakov.
      
              More fix for https://bugs.webkit.org/show_bug.cgi?id=21260
              Unbounded memory growth when churning elements with anonymous event handler functions
              
              Removed a little more complexity from event handler creation and destruction.
              
              Removed the jsProtectedEventListeners, jsProtectedInlineEventListeners,
              and jsInlineEventListeners maps, and all the code for managing them.
              
              ProtectedEventListeners don't exist anymore, so they're easy to nix.
              
              Inline EventListeners do still exist, but there's no reason to track
              them in a map. The map exists to enable 'removeEventListener' to associate
              a unique JSEventListener with a given JavaScript function. But the
              'removeEventListener' API only works with non-inline event listeners!
              
              * bindings/js/JSDOMGlobalObject.cpp:
              (WebCore::JSDOMGlobalObject::~JSDOMGlobalObject):
              (WebCore::JSDOMGlobalObject::findJSEventListener):
              (WebCore::JSDOMGlobalObject::findOrCreateJSEventListener):
              (WebCore::JSDOMGlobalObject::createJSInlineEventListener):
              * bindings/js/JSDOMGlobalObject.h:
              * bindings/js/JSEventListener.cpp:
              (WebCore::JSEventListener::JSEventListener):
              (WebCore::JSEventListener::clearJSFunctionInline):
              * bindings/js/JSLazyEventListener.cpp:
              (WebCore::JSLazyEventListener::~JSLazyEventListener):
              (WebCore::JSLazyEventListener::parseCode):
              * bindings/scripts/CodeGeneratorJS.pm:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42657 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c4682ceb
    • weinig@apple.com's avatar
      2009-04-18 Sam Weinig <sam@webkit.org> · dd8e16be
      weinig@apple.com authored
              Reviewed by Dan Bernstein.
      
              Fix typo.  s/VM_MEMORY_JAVASCRIPT_JIT_REGISTER_FILE/VM_MEMORY_JAVASCRIPT_CORE/
      
              * runtime/Collector.cpp:
              (JSC::allocateBlock): Fix bozo typo.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42656 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      dd8e16be