Index: Source/WebCore/inspector/InspectorPageAgent.cpp |
=================================================================== |
--- Source/WebCore/inspector/InspectorPageAgent.cpp (revision 98105) |
+++ Source/WebCore/inspector/InspectorPageAgent.cpp (working copy) |
@@ -503,7 +503,8 @@ |
if (!success) { |
CachedResource* resource = cachedResource(frame, kurl); |
- success = textContentForCachedResource(resource, &content); |
+ if (resource) |
+ success = textContentForCachedResource(resource, &content); |
} |
if (!success) |