Guest User

Untitled

a guest
Jan 26th, 2016
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/Source/WebCore/platform/ios/Device.cpp b/Source/WebCore/platform/ios/Device.cpp
  2. index e15d479..1acc024 100644
  3. --- a/Source/WebCore/platform/ios/Device.cpp
  4. +++ b/Source/WebCore/platform/ios/Device.cpp
  5. @@ -33,6 +33,13 @@
  6. #include <wtf/RetainPtr.h>
  7. #include <wtf/text/WTFString.h>
  8.  
  9. +const CFStringRef kMGQAppleInternalInstallCapability = CFSTR("apple-internal-install");
  10. +const CFStringRef kMGQMainScreenPitch = CFSTR("main-screen-pitch");
  11. +const CFStringRef kMGQMainScreenScale = CFSTR("main-screen-scale");
  12. +const CFStringRef kMGQiPadCapability = CFSTR("ipad");
  13. +const CFStringRef kMGQDeviceName = CFSTR("DeviceName");
  14. +const CFStringRef kMGQDeviceClassNumber = CFSTR("DeviceClassNumber");
  15. +
  16. namespace WebCore {
  17.  
  18. MGDeviceClass deviceClass()
  19. diff --git a/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h b/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h
  20. index 2d9ebdf..2eeb47c 100644
  21. --- a/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h
  22. +++ b/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h
  23. @@ -38,12 +38,12 @@
  24.  
  25. #else
  26.  
  27. -EXTERN_C const CFStringRef kMGQAppleInternalInstallCapability = CFSTR("apple-internal-install");
  28. -EXTERN_C const CFStringRef kMGQMainScreenPitch = CFSTR("main-screen-pitch");
  29. -EXTERN_C const CFStringRef kMGQMainScreenScale = CFSTR("main-screen-scale");
  30. -EXTERN_C const CFStringRef kMGQiPadCapability = CFSTR("ipad");
  31. -EXTERN_C const CFStringRef kMGQDeviceName = CFSTR("DeviceName");
  32. -EXTERN_C const CFStringRef kMGQDeviceClassNumber = CFSTR("DeviceClassNumber");
  33. +EXTERN_C const CFStringRef kMGQAppleInternalInstallCapability;
  34. +EXTERN_C const CFStringRef kMGQMainScreenPitch;
  35. +EXTERN_C const CFStringRef kMGQMainScreenScale;
  36. +EXTERN_C const CFStringRef kMGQiPadCapability;
  37. +EXTERN_C const CFStringRef kMGQDeviceName;
  38. +EXTERN_C const CFStringRef kMGQDeviceClassNumber;
  39.  
  40. typedef enum {
  41. MGDeviceClassInvalid = -1,
RAW Paste Data