Changeset 209924 in webkit
- Timestamp:
- Dec 16, 2016 10:32:27 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r209917 r209924 1 2016-12-15 Brent Fulgham <bfulgham@apple.com> 2 3 Arguments called in wrong order 4 https://bugs.webkit.org/show_bug.cgi?id=165923 5 6 Reviewed by Simon Fraser. 7 8 Correct the ordering of several function calls. 9 10 * Modules/mediasource/SourceBuffer.cpp: 11 (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample): The 'nearestToPresentationStartTime' 12 argument is being checked for validity, but 'nearestToPresentationEndTime' is being used in the 13 calculation. This seems like a copy/paste error. 14 * page/PrintContext.cpp: 15 (WebCore::PrintContext::outputLinkedDestinations): FloatPoint::expandedTo returns a new object that 16 has been expanded. This code continued using the 'unexpanded' point. 17 * platform/graphics/GraphicsContext3D.cpp: 18 (WebCore::GraphicsContext3D::computeImageSizeInBytes): The 'bytesPerComponent' and 'componentsPerPixel' 19 variables were being passed in the wrong order. 20 * platform/network/CacheValidation.cpp: The 'last-modified' header string was being concatenated with 21 the following string, resulting in an incorrect 'last-modifiedproxy-authenticate' string value. 22 * svg/SVGToOTFFontConversion.cpp: 23 (WebCore::SVGToOTFFontConverter::firstGlyph): The ASSERT was assigning to the (by-value) input 24 parameter 'codePoint', rather than comparing it to the firstGlyph value's codePoint. 25 1 26 2016-12-16 Youenn Fablet <youenn@apple.com> 2 27 -
trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp
r209390 r209924 1 1 /* 2 2 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013-201 4Apple Inc. All rights reserved.3 * Copyright (C) 2013-2016 Apple Inc. All rights reserved. 4 4 * 5 5 * Redistribution and use in source and binary forms, with or without … … 1639 1639 1640 1640 auto nearestToPresentationEndTime = trackBuffer.buffered.nearest(presentationEndTime); 1641 if (nearestToPresentation StartTime.isValid() && (nearestToPresentationEndTime - presentationEndTime).isBetween(MediaTime::zeroTime(), MediaSource::currentTimeFudgeFactor()))1641 if (nearestToPresentationEndTime.isValid() && (nearestToPresentationEndTime - presentationEndTime).isBetween(MediaTime::zeroTime(), MediaSource::currentTimeFudgeFactor())) 1642 1642 presentationEndTime = nearestToPresentationEndTime; 1643 1643 -
trunk/Source/WebCore/page/PrintContext.cpp
r209411 r209924 1 1 /* 2 2 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Apple Inc.3 * Copyright (C) 2007, 2016 Apple Inc. 4 4 * 5 5 * This library is free software; you can redistribute it and/or … … 276 276 277 277 FloatPoint point = renderer->absoluteAnchorRect().minXMinYCorner(); 278 point .expandedTo(FloatPoint());278 point = point.expandedTo(FloatPoint()); 279 279 280 280 if (!pageRect.contains(roundedIntPoint(point))) -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.cpp
r208910 r209924 1 1 /* 2 * Copyright (C) 2010 Apple Inc. All rights reserved.2 * Copyright (C) 2010, 2016 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2010 Google Inc. All rights reserved. 4 4 * Copyright (C) 2010 Mozilla Corporation. All rights reserved. … … 330 330 return GraphicsContext3D::INVALID_VALUE; 331 331 unsigned int bytesPerComponent, componentsPerPixel; 332 if (!computeFormatAndTypeParameters(format, type, & bytesPerComponent, &componentsPerPixel))332 if (!computeFormatAndTypeParameters(format, type, &componentsPerPixel, &bytesPerComponent)) 333 333 return GraphicsContext3D::INVALID_ENUM; 334 334 if (!width || !height) { -
trunk/Source/WebCore/platform/network/CacheValidation.cpp
r208985 r209924 47 47 "etag", 48 48 "keep-alive", 49 "last-modified" 49 "last-modified", 50 50 "proxy-authenticate", 51 51 "proxy-connection", -
trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp
r208985 r209924 1 1 /* 2 * Copyright (C) 2014-201 5Apple Inc. All rights reserved.2 * Copyright (C) 2014-2016 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 734 734 auto codePointsIterator = codePoints.begin(); 735 735 ASSERT(codePointsIterator != codePoints.end()); 736 ASSERT(codepoint = *codePointsIterator);736 ASSERT(codepoint == *codePointsIterator); 737 737 #endif 738 738 return v[0]; -
trunk/Tools/ChangeLog
r209918 r209924 1 2016-12-15 Brent Fulgham <bfulgham@apple.com> 2 3 Arguments called in wrong order 4 https://bugs.webkit.org/show_bug.cgi?id=165923 5 6 Reviewed by Simon Fraser. 7 8 The 'audioDeviceUIDs' array is being passed to the argument that expects video devices, 9 and the 'videoDeviceUIDs' array is being passed to the audo device argument. Fix this. 10 11 * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp: 12 (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack): The 13 order of arguments to WKUserMediaPermissionRequestAllow are flipped. 14 1 15 2016-12-16 Hunseop Jeong <hs85.jeong@samsung.com> 2 16 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2/UserMedia.cpp
r201944 r209924 1 1 /* 2 2 * Copyright (C) 2014 Igalia S.L 3 * Copyright (C) 2016 Apple Inc. All rights reserved. 3 4 * 4 5 * This library is free software; you can redistribute it and/or … … 51 52 audioDeviceUID = WKStringCreateWithUTF8CString(""); 52 53 53 WKUserMediaPermissionRequestAllow(permissionRequest, videoDeviceUID.get(), audioDeviceUID.get());54 WKUserMediaPermissionRequestAllow(permissionRequest, audioDeviceUID.get(), videoDeviceUID.get()); 54 55 } 55 56
Note: See TracChangeset
for help on using the changeset viewer.