Index: Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
index 7df66fff537faf4b7c98ff3d6454b99637d17882..8fe3d9a5617fd407ce4c7e8f63abbf439d43c134 100644 |
--- a/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/Source/core/inspector/InspectorPageAgent.cpp |
@@ -248,8 +248,6 @@ bool InspectorPageAgent::cachedResourceContent(Resource* cachedResource, String* |
case Resource::Script: |
*result = toScriptResource(cachedResource)->script(); |
return true; |
- case Resource::MainResource: |
- return false; |
case Resource::Raw: { |
SharedBuffer* buffer = cachedResource->resourceBuffer(); |
if (!buffer) |