[Cocoa] Only query for kMGQDeviceName on iOS
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Nov 2015 06:30:42 +0000 (06:30 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Nov 2015 06:30:42 +0000 (06:30 +0000)
commit5f916d88dfb32b855326135d8f29f627042f45e3
tree921d1f5b3e29948bd2a6636c28e4ecb3002150e1
parent6c1ecd1a5f84ad4851884038733d37367b99660c
[Cocoa] Only query for kMGQDeviceName on iOS
https://bugs.webkit.org/show_bug.cgi?id=150858

Reviewed by Brent Fulgham.

* platform/ios/Device.cpp:
(WebCore::deviceName): On non-iOS platorms, just return "iPhone" as the device name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ios/Device.cpp