Changeset 235115 in webkit
- Timestamp:
- Aug 21, 2018 6:55:13 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r235112 r235115 1 2018-08-21 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Don't place "using namespace XXX;" in global space for unified source builds 4 https://bugs.webkit.org/show_bug.cgi?id=188739 5 6 Reviewed by Yusuke Suzuki. 7 8 No new tests (No behavior change). 9 10 * html/track/AudioTrackList.cpp: 11 * html/track/TextTrackList.cpp: 12 * html/track/VideoTrackList.cpp: 13 * page/SecurityOriginData.cpp: 14 * page/TextIndicator.cpp: 15 * platform/geoclue/GeolocationProviderGeoclue.cpp: 16 * platform/graphics/gstreamer/ImageGStreamerCairo.cpp: 17 * platform/graphics/win/FullScreenController.cpp: 18 * platform/mediastream/CaptureDeviceManager.cpp: 19 * platform/mock/MediaPlaybackTargetPickerMock.cpp: 20 * svg/animation/SMILTime.cpp: 21 * testing/js/WebCoreTestSupport.cpp: 22 * xml/XPathParser.cpp: 23 1 24 2018-08-21 Philippe Normand <philn@igalia.com> 2 25 -
trunk/Source/WebCore/html/track/AudioTrackList.cpp
r234374 r235115 32 32 #include "AudioTrack.h" 33 33 34 using namespace WebCore; 34 namespace WebCore { 35 35 36 36 AudioTrackList::AudioTrackList(HTMLMediaElement* element, ScriptExecutionContext* context) … … 87 87 } 88 88 89 } // namespace WebCore 89 90 #endif -
trunk/Source/WebCore/html/track/TextTrackList.cpp
r234374 r235115 35 35 #include "LoadableTextTrack.h" 36 36 37 using namespace WebCore; 37 namespace WebCore { 38 38 39 39 TextTrackList::TextTrackList(HTMLMediaElement* element, ScriptExecutionContext* context) … … 271 271 } 272 272 273 } // namespace WebCore 273 274 #endif -
trunk/Source/WebCore/html/track/VideoTrackList.cpp
r234374 r235115 32 32 #include "VideoTrack.h" 33 33 34 using namespace WebCore; 34 namespace WebCore { 35 35 36 36 VideoTrackList::VideoTrackList(HTMLMediaElement* element, ScriptExecutionContext* context) … … 100 100 } 101 101 102 } // namespace WebCore 102 103 #endif -
trunk/Source/WebCore/page/SecurityOriginData.cpp
r233122 r235115 34 34 #include <wtf/text/StringBuilder.h> 35 35 #include <wtf/text/StringConcatenateNumbers.h> 36 37 using namespace WebCore;38 36 39 37 namespace WebCore { -
trunk/Source/WebCore/page/TextIndicator.cpp
r234801 r235115 51 51 #endif 52 52 53 using namespace WebCore;54 55 53 namespace WebCore { 56 54 -
trunk/Source/WebCore/platform/geoclue/GeolocationProviderGeoclue.cpp
r221132 r235115 36 36 const char* gGeoclueManagerPath = "/org/freedesktop/GeoClue2/Manager"; 37 37 38 using namespace WebCore; 38 namespace WebCore { 39 39 40 40 typedef enum { … … 211 211 } 212 212 213 } // namespace WebCore 214 213 215 #endif // ENABLE(GEOLOCATION) -
trunk/Source/WebCore/platform/graphics/gstreamer/ImageGStreamerCairo.cpp
r232795 r235115 30 30 31 31 32 using namespace WebCore; 32 namespace WebCore { 33 33 34 34 ImageGStreamer::ImageGStreamer(GstSample* sample) … … 118 118 gst_video_frame_unmap(&m_videoFrame); 119 119 } 120 121 } // namespace WebCore 122 120 123 #endif // USE(GSTREAMER) -
trunk/Source/WebCore/platform/graphics/win/FullScreenController.cpp
r223728 r235115 39 39 #include <wtf/RefPtr.h> 40 40 41 using namespace WebCore; 41 namespace WebCore { 42 42 43 43 static const int kFullScreenAnimationDuration = 500; // milliseconds … … 218 218 m_private->m_backgroundWindow = nullptr; 219 219 } 220 221 } // namespace WebCore 222 220 223 #endif -
trunk/Source/WebCore/platform/mediastream/CaptureDeviceManager.cpp
r235086 r235115 37 37 #include <wtf/text/StringHash.h> 38 38 39 using namespace WebCore; 39 namespace WebCore { 40 40 41 41 CaptureDeviceManager::~CaptureDeviceManager() = default; … … 61 61 } 62 62 63 } // namespace WebCore 64 63 65 #endif // ENABLE(MEDIA_STREAM) -
trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.cpp
r233552 r235115 33 33 #include "MediaPlaybackTargetMock.h" 34 34 #include "WebMediaSessionManager.h" 35 36 using namespace WebCore;37 35 38 36 namespace WebCore { -
trunk/Source/WebCore/svg/animation/SMILTime.cpp
r163440 r235115 29 29 #include <float.h> 30 30 31 using namespace WebCore; 31 namespace WebCore { 32 32 33 33 const double SMILTime::unresolvedValue = DBL_MAX; … … 35 35 const double SMILTime::indefiniteValue = FLT_MAX; 36 36 37 SMILTime WebCore::operator+(const SMILTime& a, const SMILTime& b)37 SMILTime operator+(const SMILTime& a, const SMILTime& b) 38 38 { 39 39 if (a.isUnresolved() || b.isUnresolved()) … … 44 44 } 45 45 46 SMILTime WebCore::operator-(const SMILTime& a, const SMILTime& b)46 SMILTime operator-(const SMILTime& a, const SMILTime& b) 47 47 { 48 48 if (a.isUnresolved() || b.isUnresolved()) … … 53 53 } 54 54 55 SMILTime WebCore::operator*(const SMILTime& a, const SMILTime& b)55 SMILTime operator*(const SMILTime& a, const SMILTime& b) 56 56 { 57 57 if (a.isUnresolved() || b.isUnresolved()) … … 63 63 return a.value() * b.value(); 64 64 } 65 66 } // namespace WebCore -
trunk/Source/WebCore/testing/js/WebCoreTestSupport.cpp
r232337 r235115 47 47 #include <JavaScriptCore/JSValueRef.h> 48 48 49 using namespace WebCore;50 51 49 namespace WebCoreTestSupport { 52 50 using namespace JSC; 51 using namespace WebCore; 53 52 54 53 void injectInternalsObject(JSContextRef context) -
trunk/Source/WebCore/xml/XPathParser.cpp
r223476 r235115 38 38 39 39 extern int xpathyyparse(WebCore::XPath::Parser&); 40 41 using namespace WebCore;42 using namespace XPath;43 40 44 41 #include "XPathGrammar.h"
Note: See TracChangeset
for help on using the changeset viewer.