Removes a hardcoded path I had added for testing.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 11 Jun 2006 20:18:15 +0000 (20:18 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 11 Jun 2006 20:18:15 +0000 (20:18 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14813 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/WebInspector/WebInspector.m

index c5613f5d10efe527fbcd430e652677c3737cecba..5cec273c9dd4a0480a2cfbf9f4dc83e459606c0c 100644 (file)
@@ -128,8 +128,7 @@ static NSMapTable *lastChildIgnoringWhitespaceCache = NULL;
 
         [window setContentView:_private->webView];
 
-//        NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"inspector" ofType:@"html" inDirectory:@"webInspector"];
-        NSString *path = @"/Users/Timothy/Work/Safari-TOT/OpenSource/WebKit/WebInspector/webInspector/inspector.html";
+        NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"inspector" ofType:@"html" inDirectory:@"webInspector"];
         [[_private->webView mainFrame] loadRequest:[[[NSURLRequest alloc] initWithURL:[NSURL fileURLWithPath:path]] autorelease]];
 
         [self setWindow:window];