| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ | 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ |
| 4 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 4 * Copyright (C) 2010 Google Inc. All Rights Reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 return requests; | 879 return requests; |
| 880 } | 880 } |
| 881 | 881 |
| 882 return requests; | 882 return requests; |
| 883 } | 883 } |
| 884 | 884 |
| 885 CachedDocumentParameters::CachedDocumentParameters(Document* document) { | 885 CachedDocumentParameters::CachedDocumentParameters(Document* document) { |
| 886 ASSERT(isMainThread()); | 886 ASSERT(isMainThread()); |
| 887 ASSERT(document); | 887 ASSERT(document); |
| 888 doHtmlPreloadScanning = | 888 doHtmlPreloadScanning = |
| 889 !document->settings() || document->settings()->doHtmlPreloadScanning(); | 889 !document->settings() || document->settings()->getDoHtmlPreloadScanning(); |
| 890 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame() && | 890 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame() && |
| 891 document->frame()->isMainFrame(); | 891 document->frame()->isMainFrame(); |
| 892 defaultViewportMinWidth = document->viewportDefaultMinWidth(); | 892 defaultViewportMinWidth = document->viewportDefaultMinWidth(); |
| 893 viewportMetaZeroValuesQuirk = | 893 viewportMetaZeroValuesQuirk = |
| 894 document->settings() && | 894 document->settings() && |
| 895 document->settings()->viewportMetaZeroValuesQuirk(); | 895 document->settings()->getViewportMetaZeroValuesQuirk(); |
| 896 viewportMetaEnabled = | 896 viewportMetaEnabled = |
| 897 document->settings() && document->settings()->viewportMetaEnabled(); | 897 document->settings() && document->settings()->getViewportMetaEnabled(); |
| 898 referrerPolicy = document->getReferrerPolicy(); | 898 referrerPolicy = document->getReferrerPolicy(); |
| 899 } | 899 } |
| 900 | 900 |
| 901 } // namespace blink | 901 } // namespace blink |
| OLD | NEW |