Fix inadequate construction of Position in newInlineePosition

Change-Id: I0a8fefa587c4f9d595ee04f5e852eaee36d29325
diff --git a/src/main/java/com/android/tools/r8/graph/Code.java b/src/main/java/com/android/tools/r8/graph/Code.java
index 3b5d069..c893b40 100644
--- a/src/main/java/com/android/tools/r8/graph/Code.java
+++ b/src/main/java/com/android/tools/r8/graph/Code.java
@@ -257,11 +257,11 @@
     assert !callerPosition.isOutline();
     // Copy the callee frame to ensure transfer of the outline key if present.
     PositionBuilder<?, ?> newCallerBuilder =
-        outermostCallee.builderWithCopy().setMethod(callerPosition.getMethod());
-    // Transfer the callers outer frames if any.
-    if (callerPosition.hasCallerPosition()) {
-      newCallerBuilder.setCallerPosition(callerPosition.getCallerPosition());
-    }
+        outermostCallee
+            .builderWithCopy()
+            .setIsD8R8Synthesized(callerPosition.isD8R8Synthesized())
+            .setMethod(callerPosition.getMethod())
+            .setCallerPosition(callerPosition.getCallerPosition());
     // If the callee is an outline, the line must be that of the outline to maintain the positions.
     if (outermostCallee.isOutline()) {
       // This does not implement inlining an outline. The cases this hits should always be a full