summaryrefslogtreecommitdiffstats
path: root/karbon/commands/vreplacingcmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/commands/vreplacingcmd.cc')
-rw-r--r--karbon/commands/vreplacingcmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/commands/vreplacingcmd.cc b/karbon/commands/vreplacingcmd.cc
index d99fe3135..2275dba84 100644
--- a/karbon/commands/vreplacingcmd.cc
+++ b/karbon/commands/vreplacingcmd.cc
@@ -66,7 +66,7 @@ VReplacingCmd::execute()
successful = true;
// Insert new tqshape right before old tqshape.
- itr.current()->tqparent()->insertInfrontOf(
+ itr.current()->parent()->insertInfrontOf(
newObject, itr.current() );
// Add new tqshape to list of new objects.