| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * | 10 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include "config.h" | 29 #include "config.h" |
| 30 | 30 |
| 31 #if ENABLE(INSPECTOR) | |
| 32 | 31 |
| 33 #include "ContentSearchUtils.h" | 32 #include "ContentSearchUtils.h" |
| 34 | 33 |
| 35 #include "InspectorValues.h" | 34 #include "InspectorValues.h" |
| 36 #include "RegularExpression.h" | 35 #include "RegularExpression.h" |
| 37 | 36 |
| 38 #include <wtf/BumpPointerAllocator.h> | 37 #include <wtf/BumpPointerAllocator.h> |
| 39 #include <wtf/StdLibExtras.h> | 38 #include <wtf/StdLibExtras.h> |
| 40 #include <yarr/Yarr.h> | 39 #include <yarr/Yarr.h> |
| 41 | 40 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 } | 193 } |
| 195 | 194 |
| 196 String findSourceMapURL(const String& content) | 195 String findSourceMapURL(const String& content) |
| 197 { | 196 { |
| 198 return findMagicComment(content, "sourceMappingURL"); | 197 return findMagicComment(content, "sourceMappingURL"); |
| 199 } | 198 } |
| 200 | 199 |
| 201 } // namespace ContentSearchUtils | 200 } // namespace ContentSearchUtils |
| 202 } // namespace WebCore | 201 } // namespace WebCore |
| 203 | 202 |
| 204 #endif // ENABLE(INSPECTOR) | |
| OLD | NEW |